Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
11 mai 2011, 19:06 UTC−4
Can anyone help me please? It seems to me that with such a simple system, I should be able to get a more accurate result.
Can anyone help me please? It seems to me that with such a simple system, I should be able to get a more accurate result.
Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
13 mai 2011, 00:55 UTC−4
Hi
I do not see anything that special, you are in 3D that is element consuming, hence computing expensive to get fine and precise results.
Nevertheless, what I would have done is the following:
1) place the magnet in the middle of the sphere
2) mesh the magnet with a finer mesh, and the air perhaps even with a coarser. As the magnet has a fine mesh, the "air" just around it would also get a fine mesh, then it will "coarsen" going outwards
3) sharp edges are always tricky, these represent singularities and tend to make hot spots, someof it might be numerical, but there are also physics behind, the atoms that are on the boundary layer of any object have a different environment than those all surrounded by a homogenious material, edge oor phringe effects are not "just" numeric
Example:
Take a thermal stress (TS in v4) model, in 3D, stationary, draw a sphere, a cylinder and a block (default dimensions, make have them distinct, not overlapping). Give them some simple (constant) material properties, i.e. aluminium.
Now in "TS" means solid strucutral and one of the rules is to attach somewhat your material in space. To do this there will be new "spring" BC in v4.2, but in 3.5 and up to 4.1 you "just" add volume force on all domains and call it
Fvol = (-Kx*u,-Ky*v, -Kz*w)
where Kx,Ky,Kz is you spring value (1 or 1000 N/m/m^3 should do). For the temperature you need to fixe one boundary per item to a fixed T=T0 of the default 293.15K
Then solve like that, you might see the mesh structure imprints in the "sqrt(eps)" numerical level = numerical noise.
Then if you give a different initial (& fixed) temperature and resolve: as expected no changes.
But if you add a temperature gradient by defining two fixed temperatures on two opposed sides you will start to get stress in the sharp corners (for the domains that have "corners". By playing with the Kxyz spring value you can estimate how much i due to the expansion and the soft spring and how much is due to thermal stress buildup. You might also turn "off" nu=0 the cross coupling term of stress-strain to have a fluid type material and see that effect too
And finally play a little with the mesh to see what is directly mess density related
For your case you could try the same but make these shapes magnets (+ air and infinite elements to loop the field lines properly). Then try to make the cylinder and the cube with filleted corners
--
Good luck
Ivar
Hi
I do not see anything that special, you are in 3D that is element consuming, hence computing expensive to get fine and precise results.
Nevertheless, what I would have done is the following:
1) place the magnet in the middle of the sphere
2) mesh the magnet with a finer mesh, and the air perhaps even with a coarser. As the magnet has a fine mesh, the "air" just around it would also get a fine mesh, then it will "coarsen" going outwards
3) sharp edges are always tricky, these represent singularities and tend to make hot spots, someof it might be numerical, but there are also physics behind, the atoms that are on the boundary layer of any object have a different environment than those all surrounded by a homogenious material, edge oor phringe effects are not "just" numeric
Example:
Take a thermal stress (TS in v4) model, in 3D, stationary, draw a sphere, a cylinder and a block (default dimensions, make have them distinct, not overlapping). Give them some simple (constant) material properties, i.e. aluminium.
Now in "TS" means solid strucutral and one of the rules is to attach somewhat your material in space. To do this there will be new "spring" BC in v4.2, but in 3.5 and up to 4.1 you "just" add volume force on all domains and call it
Fvol = (-Kx*u,-Ky*v, -Kz*w)
where Kx,Ky,Kz is you spring value (1 or 1000 N/m/m^3 should do). For the temperature you need to fixe one boundary per item to a fixed T=T0 of the default 293.15K
Then solve like that, you might see the mesh structure imprints in the "sqrt(eps)" numerical level = numerical noise.
Then if you give a different initial (& fixed) temperature and resolve: as expected no changes.
But if you add a temperature gradient by defining two fixed temperatures on two opposed sides you will start to get stress in the sharp corners (for the domains that have "corners". By playing with the Kxyz spring value you can estimate how much i due to the expansion and the soft spring and how much is due to thermal stress buildup. You might also turn "off" nu=0 the cross coupling term of stress-strain to have a fluid type material and see that effect too
And finally play a little with the mesh to see what is directly mess density related
For your case you could try the same but make these shapes magnets (+ air and infinite elements to loop the field lines properly). Then try to make the cylinder and the cube with filleted corners
--
Good luck
Ivar