CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [mesh manipulation] mesh refinement based on previous temperature field (https://www.cfd-online.com/Forums/openfoam-meshing/225342-mesh-refinement-based-previous-temperature-field.html)

ssa_cfd March 24, 2020 07:04

mesh refinement based on previous temperature field
 
Hi all,

I want to do mesh refinement based on the temperature field in reactingFoam solver. The mesh has to be coarse where the temperature is low, and fine where the temperature is high. This has to be done only once during the start of the simulation.

I looked up dynamic mesh refinement, on damBreak tutorial which does mesh refinement based on alpha.water. I want to do something like this but only once on reactingFoam solver.

Any ideas on how to achieve this ?

alexeym March 26, 2020 06:09

Hi,

You can run solver for one step with mesh refinement and then restart it without mesh refinement.


All times are GMT -4. The time now is 23:40.