

Non-Dimensional Contour Plots
I would like to know how a Non-Dimensional Contour Plot(eg:P/P_0) can be obtained using Openfoam and visualised using Paraview. Please do help me by giving a suggestion to do so.
Thanks in Advance
OpenFOAM


Hi,
You can try the 'scale' post-process functions in your contolDict file. This will write your non-dimensionalized p field for each write-time. You can refer to the link below for more details. https://www.openfoam.com/documentation/guides/latest/api/classFoam_1_1Function1Types_1_1Scale.html
Regards,
Ashley


You could try the "calculator" filter in ParaView if you already ran the simulation with the p field. Steps are: 1. Open case in ParaView. Use the "Plot over line" or "probe location" filter to identify data points. 2. Use calculator filter and in that, you can use "scalar p"/"p0". (where p0 is your constant) 3. Open spreadsheet view in ParaView. You will see an entry with the name "Result" that is your p/p0


I can say this is a useful and good article, I want to tell you a game I recently discovered that is extremely interesting, which is the fnf mods game introduced by my friend and I officially became a fan of it.
Login to add comment