CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Residuals Field visualization in paraFoam (https://www.cfd-online.com/Forums/openfoam-post-processing/254257-residuals-field-visualization-parafoam.html)

astrolollo January 30, 2024 06:31

Residuals Field visualization in paraFoam
 
I'm working on a turbulent RANS steady simulation of an internal biological flow (I'm sorry i don't think I'm allowed to give more details than this). In order to identify some of the simulation problems I would like to visualize in paraFoam the initial residual value of each cell (especially for the turbulent quantities k and omega). I'm working with OF 10 and it doesn't seem to have a function object capable of doing that (and neither does of11 from what I understand), looking on the forum some user have mentioned the availability of the solverInfo function object in the ESI-OF version but looking at the source code of v2312 I can't seem to find it any more. Do you have any suggestion on how to visualize this quantity or can you direct me to someone who already wrote their own function object?
Than you very much

Yann January 30, 2024 07:37

Hello Lorenzo,

This is indeed available in the ESI-OpenCFD branch using the solverInfo function object. You need to activate the writeResidualFields flag to write residuals as fields.
Have a look at the documentation: https://doc.openfoam.com/2306/tools/...solverInfo.md/

Regards,
Yann

astrolollo January 30, 2024 07:52

Quote:

Originally Posted by Yann (Post 863998)
Hello Lorenzo,

This is indeed available in the ESI-OpenCFD branch using the solverInfo function object. You need to activate the writeResidualFields flag to write residuals as fields.
Have a look at the documentation: https://doc.openfoam.com/2306/tools/...solverInfo.md/

Regards,
Yann

Thank you very much, I should have looked better at the source code. Thank you again!

Kind Regards,
Lorenzo


All times are GMT -4. The time now is 22:51.