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

Plot pressure with FuntionObjects

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 23, 2013, 15:09
Default Plot pressure with FuntionObjects
  #1
Member
 
ynos
Join Date: Jan 2011
Posts: 37
Rep Power: 6
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
"Pressure Inlet" Boundary Setup Wijaya FLUENT 13 April 11, 2013 08:50
Plot droplet size distribution curve for Pressure swirl atomizer mali28 FLUENT 1 April 4, 2012 01:27
Pressure BC for combustion chamber Giuki FLUENT 1 July 19, 2011 11:35
Plot pressure distribution on a section of 3d blade Dr.been FLUENT 1 July 8, 2010 10:05


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