r/CFD • • Jul 09 '18

[July] Personal experiences of using open source CFD projects; OpenFOAM, SU2, FVCOM, Basilisk (Gerris), etc.

As per the discussion topic vote, July's monthly topic is Personal experiences of using open source CFD projects; OpenFOAM, SU2, FVCOM, Basilisk (Gerris), etc.

25 Upvotes

44 comments sorted by

View all comments

Show parent comment

1

u/no7fish Jul 10 '18

I also use sHM almost exclusively. It's a pain to deal with but once the settings are happy it's fairly robust.

The concept of refining on-the-go is a revelation for me. I wonder if there are any methods for sHM that could achieve this, even without the residual plotting?

1

u/_taher_ Jul 10 '18

I agree, I have setup a dictionary file after many iterations that works very well for all the cases that I've work with.

Regarding your question, if you enable the runTimeModifiable flag in the controlDict you should be able to achieve this. This flag essentially enables a method in OF's I/O class which is called readIfModified.

1

u/no7fish Jul 11 '18

If I understand this correctly, it applies to controlDict, turbulenceProperties, and other operational files. Does it allow you to pause and refine the mesh then carry on solving again?

1

u/_taher_ Jul 11 '18

I am not sure as I haven't tried it myself. It applies to dictionaries and boundary conditions as far as I know.

1

u/BroCFD Jul 11 '18

Hi,

Yes this was what amazed me about Star too. Run an imperfect mesh for a few time steps - find out areas with high residuals - before refining those areas, save your current solution to a table - refine mesh and import the table as an initial condition (which is interpolated to your new mesh) - run your case for better convergence. And it is so easy to do this as well.