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

[swak4Foam] Interface contour - interFoam

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 13, 2012, 10:39
Default Interface contour - interFoam
  #1
New Member
 
P.M.Bronow
Join Date: Nov 2009
Location: Poland/Germany
Posts: 14
Rep Power: 16
PrzemekPL is on a distinguished road
Hello Everybody,
I'm using OF 2.1.1 and interFoam for the flow simulations with the free surface.
Thanks to swak4Foam I'm able to write out some results during the run. What I'm interseted in is the alpha1 field at a given cutting plane.

My controlDict:

libs (
"libOpenFOAM.so"
"libsimpleSwakFunctionObjects.so"
"libswakFunctionObjects.so"
);

functions
{

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

interpolationScheme cellPoint;

surfaces
(
cuttingPlane
{
type cuttingPlane;
planeType pointAndNormal;
pointAndNormalDict
{
basePoint (0 0 0);
normalVector (0 0 1);
}
interpolate true;
}

);
}

Once I get .vtk files I can load them into paraview, plot the contour alpha1=0.5 and save the contour data as .csv file.

So, my question is if steps which I perform in paraview can be added to the swak4foam procedure?

Thanks in Advance for any help!!!
PrzemekPL is offline   Reply With Quote

 

Tags
contour, free surface, interfoam, swak4foam


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
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
How to have sharp interface in nano scale two phase flow problem using interFoam hosseinfathi OpenFOAM Programming & Development 10 April 9, 2017 09:07
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
the interface reconstruction in InterFoam young_Cao OpenFOAM Running, Solving & CFD 3 June 13, 2012 06:45


All times are GMT -4. The time now is 13:40.