CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Can't see results in Paraview, OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2024, 06:08
Default Can't see results in Paraview, OpenFOAM
  #1
New Member
 
Johhny long
Join Date: Sep 2020
Posts: 16
Rep Power: 6
hugolopessilva is on a distinguished road
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,
hugolopessilva is offline   Reply With Quote

Old   April 17, 2024, 08:24
Default
  #2
Member
 
MNM
Join Date: Aug 2017
Posts: 69
Rep Power: 9
SHUBHAM9595 is on a distinguished road
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
SHUBHAM9595 is offline   Reply With Quote

Old   April 22, 2024, 05:50
Default
  #3
New Member
 
Johhny long
Join Date: Sep 2020
Posts: 16
Rep Power: 6
hugolopessilva is on a distinguished road
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;
hugolopessilva is offline   Reply With Quote

Old   April 23, 2024, 16:17
Default
  #4
Member
 
MNM
Join Date: Aug 2017
Posts: 69
Rep Power: 9
SHUBHAM9595 is on a distinguished road
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 |
\*---------------------------------------------------------------------------*/
In any case, I dont think this line (either Version : 8 or Version : 6) should be the main cause for your problem (bcz the actual info that matters start from FoamFile). If possible can you share your case file, maybe then its easier to narrow down the reason.
SHUBHAM9595 is offline   Reply With Quote

Old   April 25, 2024, 11:18
Default
  #5
New Member
 
Johhny long
Join Date: Sep 2020
Posts: 16
Rep Power: 6
hugolopessilva is on a distinguished road
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?
hugolopessilva is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 14:32.