General Mesh questions (make slow computation and errors)
Posted: Mon Jun 10, 2013 9:32 am
Hi,
I'm using Code-saturne (3.0.1) to simulate the air flow through a heatsink. The aim is to run a coupled code-saturne/SYRTHES simulation to see the effect of the heatsink on out product and see how it should be controlled (full-on, temperature driven or else).
I've drawn the geometry and made both the solid and fluid domains using FreeCAD (for the geomtry) and SALOME to make the partition, group and meshes.
Currently, I've got a mesh of the fluid domain which has been generated using 'Automatic Tetrahedralization' hypothesis set (with no specific parameters for 'NETGEN 1D-2D' algorythm.
This generates a mesh with the following characteristic (extract from check_mesh.log):
Anyway, I've tried to run a simulation using this mesh and the computation time (per time-step) is really long...and simulation crashed around step 130 with weird convergence values.
I've noticed a warning at the beginning of the listing output which tells 'WARNING: MESH TOO REFINED AT THE WALL', so I tried to make a new mesh with a 'very coarse' criteria in 'NETGEN 1D-2D' (and even in the 'NETGEN 3D') parameters but it didn't changed the problem and the computation time is still really long.
Using the 'Scallable wall' remove the warning about mesh refinement but I don't know what are the side effect (simulation is currently running but it might take around 1-2 hours to reach the time step 130, even on a dual core using 2 processes)...
I'd like to have some advice on how to generate a correct mesh for this simulation. I'm quite new to all this world so It might be a really simple thing.
I've uploaded a copy of the MED file, the check_mesh.log and the code-saturne project file so that you might be able to have a look at the files.
Regards, Jerome
I'm using Code-saturne (3.0.1) to simulate the air flow through a heatsink. The aim is to run a coupled code-saturne/SYRTHES simulation to see the effect of the heatsink on out product and see how it should be controlled (full-on, temperature driven or else).
I've drawn the geometry and made both the solid and fluid domains using FreeCAD (for the geomtry) and SALOME to make the partition, group and meshes.
Currently, I've got a mesh of the fluid domain which has been generated using 'Automatic Tetrahedralization' hypothesis set (with no specific parameters for 'NETGEN 1D-2D' algorythm.
This generates a mesh with the following characteristic (extract from check_mesh.log):
Maillage
Nombre de cellules : 330098
Nombre de faces internes : 581782
Nombre de faces de bord : 156828
Nombre de sommets : 97246
(...)
Critère 1 : orthogonalité :
Nombre de mauvaises cellules détecté : 0 --> 0 %
Critère 2 : décentrement :
Nombre de mauvaises cellules détecté : 0 --> 0 %
Critère 3 : qualité du gradient moindres-carrés :
Nombre de mauvaises cellules détecté : 12338 --> 4 %
Critère 4 : ratio des volumes de cellules :
Nombre de mauvaises cellules détecté : 0 --> 0 %
Critère 5 : culpabilité par association :
Nombre de mauvaises cellules détecté : 0 --> 0 %
Attention :
---------
Un défaut de qualité de maillage a été détecté
Le maillage devrait être revu en fonction des critères indiqués.
Le calcul sera effectué mais la qualité de la solution peut être dégradée...
Anyway, I've tried to run a simulation using this mesh and the computation time (per time-step) is really long...and simulation crashed around step 130 with weird convergence values.
I've noticed a warning at the beginning of the listing output which tells 'WARNING: MESH TOO REFINED AT THE WALL', so I tried to make a new mesh with a 'very coarse' criteria in 'NETGEN 1D-2D' (and even in the 'NETGEN 3D') parameters but it didn't changed the problem and the computation time is still really long.
Using the 'Scallable wall' remove the warning about mesh refinement but I don't know what are the side effect (simulation is currently running but it might take around 1-2 hours to reach the time step 130, even on a dual core using 2 processes)...
I'd like to have some advice on how to generate a correct mesh for this simulation. I'm quite new to all this world so It might be a really simple thing.
I've uploaded a copy of the MED file, the check_mesh.log and the code-saturne project file so that you might be able to have a look at the files.
Regards, Jerome