CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Plot pressure with FuntionObjects

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2013, 15:09
Default Plot pressure with FuntionObjects
  #1
Member
 
ynos
Join Date: Jan 2011
Posts: 39
Rep Power: 15
ynos is on a distinguished road
Hi Foamers
I have run my cases, but I have a lot of cases and i would like plot the pressures maps with FuntionObjects. I wrote in my controldict the next:

functions
(
forces
{
type forces;
functionObjectLibs ("libforces.so"); //Lib to load
outputControl timeStep;
outputInterval 1;
patches (hull); // change to your patch name
rhoInf 1000; //Reference density for fluid
nuInf 1e-6; //Reference kinetic viscosity for fluid
CofR (0 0 0); //Origin for moment calculations
}

interface
{
type surfaces;
functionObjectLibs
(
"libsampling.so"
);
outputControl outputTime;
outputInterval 2;
surfaceFormat vtk;
fields
(
alpha1


);
surfaces
(
freeSurface
{
type isoSurfaceCell;
isoField alpha1;
isoValue 0.5;
interpolate true;
regularise true;
}
);
interpolationScheme cell;
}

);

but I would like to get the pressure on the hull and the p_rgh on the freesurface.
Thanks in advanced
ynos is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Plot pressure distribution on a section of 3d blade Dr.been FLUENT 2 July 22, 2016 06:03
"Pressure Inlet" Boundary Setup Wijaya FLUENT 15 May 18, 2016 11:08
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
Plot droplet size distribution curve for Pressure swirl atomizer mali28 FLUENT 1 April 4, 2012 02:27
Pressure BC for combustion chamber Giuki FLUENT 1 July 19, 2011 12:35


All times are GMT -4. The time now is 11:58.