Jump to content
Mr. Carsten Fuetterer

Visualizing boundary data from OpenFoam calculations

Recommended Posts

Hi,

 

the usal way of visualizing data from OpenFoam is to create a file like foam.case in the calculation directory and to import this file. The problem is with this method, that only the data of the internal mesh are displayed in CAESES and that you do not have the values of the boundary faces.

 

To see these values you can export your OpenFoam data to VTK. This is done with follwowing OpenFoam command:

 

foamToVTK -latestTime

 

With this command a new folder called VTK is created with the VTK files of all boundaries and patches. Theses different files can be imported into CAESES and values like Wall Yplus or pressure can be displayed.

 

Have a great start into the week :-)

 

Carsten

 

post-85-0-50152600-1439801164_thumb.png

Share this post


Link to post
Share on other sites

Hi Carsten,

 

thanks for the hint!

 

But is there also a way to import those vtk automatically, because the lastTimeStep is evaluated and the filename of these .vtk files includes the timestep? I tried something with a string parameter that reads the last timestep from a file generated by patch average but CAESES does not accept this paramter, warning me that I created a infinite recursion:

 

>>>

*** INFO Expression not assigned : Infinite recursion detected [|04_OFpostProcessing|import_vtk_fileName]

<<<

 

Moreover I am interested in plotting the ratio turbulant viscosity to kinematic viscosity (nu_t /nu) on my gridPlaneCuts. Did you ever do this before and could explain a way to get such a plot here?

 

Many thanks in advance!

 

Gerrit

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...