Can't see results in Paraview, OpenFOAM
Hi,
I did a simulation in OpenFOAM 6 and can solve it. However, when I open paraview to see the results, I can only see the velocity U. I tried to see the kinematic pressure p, but I can't see any result there. Any ideas on what I might be doing wrong? Best regards, |
Hi Johnny,
This might be probably because of the wrong header for the pressure file. Can you share the first few lines of pressure file. Execute the following command in your simulation directory and let us know the output Code:
head -25 0/p |
Hi,
Thank you for your reply. I am sending the header of the pressure file, which I obtained by writing the command you suggested at the terminal. /*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { movingWall { type zeroGradient; |
Hi John, are you sure you executed the command in the correct working directory/with correct OF version ? Because your output shows version 8 but right in the beginning you mentioned you are using V6
Code:
/*--------------------------------*- C++ -*----------------------------------*\ |
Hi,
Yeah, I am using version 8 now. I was using version 6 a few weeks ago. Which file do you mean by case file? |
All times are GMT -4. The time now is 04:40. |