|
[Sponsors] |
April 17, 2024, 06:08 |
Can't see results in Paraview, OpenFOAM
|
#1 |
New Member
Johhny long
Join Date: Sep 2020
Posts: 16
Rep Power: 6 |
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, |
|
April 17, 2024, 08:24 |
|
#2 |
Member
MNM
Join Date: Aug 2017
Posts: 69
Rep Power: 9 |
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 |
|
April 22, 2024, 05:50 |
|
#3 |
New Member
Johhny long
Join Date: Sep 2020
Posts: 16
Rep Power: 6 |
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; |
|
April 23, 2024, 16:17 |
|
#4 |
Member
MNM
Join Date: Aug 2017
Posts: 69
Rep Power: 9 |
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++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \*---------------------------------------------------------------------------*/ |
|
April 25, 2024, 11:18 |
|
#5 |
New Member
Johhny long
Join Date: Sep 2020
Posts: 16
Rep Power: 6 |
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? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology | wyldckat | OpenFOAM | 17 | November 10, 2017 16:54 |
Updated native OpenFOAM reader for ParaView 5.3 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 4 | July 13, 2017 11:14 |
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 14, 2016 04:19 |
[OpenFOAM] No eye icon when using ParaView with OpenFOAM | rmvega | ParaView | 0 | July 2, 2014 10:59 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 22:41 |