i am a student at Heriot watt university and i study the Rarefied gaz flows... I have already launch some simulations on OpenFoam 6 and OpenFoam 1606+.
I need to calculate a grad of p (pressure). For OpenFoam 6 i used : RNSrFoam -postProcess -funcs ‘grad(rho)’ -time x. RNSrFoam is my solver. But this line doesn't work with OpenFoam 1606+ and it is an other solver so i can't use this one in OpenFoam 6... Have you an equivalent of my line or perhars an other way to calculate grad(p) and plot it ?
You could try adding the following code snippet in your controlDict file:
Again, it worked for OpenFOAM 7. I'm not sure about its compatibility in 1606+.
No it doesn't work.... But thanks for your answer !
22-06-20, 12:55 p.m. Tgs4HW
As a last resort, you could try the 'Gradient of Unstructured DataSet' filter on ParaView.
22-06-20, 6:51 p.m. ashleymelvin
Login to add comment