Adaptive Mesh Refinement - Kármán Vortex Street ∇ OpenFOAM®

preview_player
Показать описание
The OpenFOAM® in-house code for adaptive mesh refinement is used to refine/unrefine the base mesh based on a user-defined specification. Here, a passive scalar equation was additionally solved. The values of the scalar were used to control the adaptive mesh refinement library. Even though, the case looks nice and reasonable, the mesh refinement library can only handle 3D refinements. Therefore, this case is a pseudo 2D case.

Nevertheless, nowadays, there are further library extensions available which can handle pure 2D refinements.

Keep foaming,
Tobias
Рекомендации по теме
Комментарии
Автор

can we use this for highly complex geometries (Hard to mesh with hex elements)

emacsjohn
Автор

This is impressive. Is this code available for research? I'm doing an introductory course for CFD using open foam to study supersonic compressible flow on a reentering space capsule and this would come in handy to adapt the mesh for the shock-wave.

utbound
Автор

Hello Tobias,

Nice simulation,
Do you think it might be possible to use this kind of refinement for the solver interFoam, refining around the interface ? (the passive scalar would then be alpha.water) ?

Thanks

maxviet
Автор

Hi Tobias. Amazing demonstration ! I downloaded your case and I have a question. It seems that the automatic refinemesh tool refine polyhedron cells during the simulation. There are polyhedron cells between two levels created with SHM (close to the cylinder). How it's possible ? Automatic refinement mesh isn't suppose to work only with hex8 cells ? Thanks a lot

fauster
Автор

Hi Tobias ... just for instance, If I would use interDyMFoam solver I do not need to add a passive scalar...is that right? in this case I might use the volume fraction as passive scalar...Am I wrong?

vsammartano
Автор

Hello Tobias,

beautiful simulation! Is it a 2D case? How did you manage to get the refinement only in xy-direction? Did you have to change the dynamic mesh librarys?

Best

scram_resa
Автор

Nice Work,
Can you provide code for refine/ unrefined mesh. What basic topology you used like base cell size, refinement level and number of buffer layers ?

simulator
Автор

Great job .
I am doing adaptive mesh refinment to simulate pressure swirl atomizer . I have had run tne code in parallel and every think seemed tp be fine . But, whene i wnated to reconstructPar the mesh, I got this error message

-> FOAM FATAL IO ERROR:
cannot find file

file: at line 0.

From function regIOobject::readStream()
in file at line 73.

FOAM editing


Do you have idea how to solve this problem ? Regards .

abdallahsalem
Автор

And also question about strings in /0.org/S   

 inlet
    {
...
        valueExpression "y < -0.0025 ? 0 : y < 0.0025 ? 1 : 0"; // S = 1 for S.y in (-0.0025;0.0025) right?
...
    }

emlakajenek
Автор

Hello, Tobias.
I have from your site,
and for run I need scalarPimpleDyMFoam.
Can you give any tip to produce it by myself from pimpleDyMFoam?
If you decide to share sources of scalarPimpleDyMFoam solver - I would be glad too :)

emlakajenek