|
[Sponsors] |
How to plot variable (alpha1) on cuttingPlane (runtime postprocessing) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 24, 2013, 14:30 |
How to plot variable (alpha1) on cuttingPlane (runtime postprocessing)
|
#1 |
Member
Join Date: Oct 2012
Posts: 32
Rep Power: 14 |
Hey guys,
i want to use the runtime postprocessing capabilities of OpenFOAM. Therefore, i modified my controlDict-file, it looks like: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // libs ( "libOpenFOAM.so" "libincompressibleTurbulenceModel.so" "libincompressibleRASModels.so" ); application interFoam; startFrom latestTime; startTime 0; stopAt endTime; endTime 120; deltaT 0.001; writeControl adjustableRunTime; writeInterval 0.05; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression uncompressed; timeFormat general; timePrecision 6; runTimeModifiable yes; adjustTimeStep yes; maxCo 0.5; maxAlphaCo 0.5; maxDeltaT 1; functions { #include "cuttingPlane" } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ cuttingPlane { type surfaces; functionObjectLibs ("libsampling.so"); outputControl outputTime; surfaceFormat vtk; fields ( alpha1 ); interpolationScheme cellPoint; surfaces ( zNormal { type cuttingPlane; planeType pointAndNormal; pointAndNormalDict { basePoint (0 0 8); normalVector (0 0 1); } interpolate true; } ); } // ************************************************************************* // Here is the complete domain i want to simulate: Here you can see the domain again (this time with wireframe-representation) together with the cuttingPlane. The position of the cuttingPlane obviously seems to be correct, but the result makes no sense (for me): Do you have a hint for me? Best regards! |
|
September 26, 2013, 09:46 |
|
#2 |
Member
Join Date: Oct 2012
Posts: 32
Rep Power: 14 |
Just for your information, i think this is a known bug in OpenFoam 2.2.0. I tried it again with OpenFoam 2.2.1, and now it works!
Best regards! |
|
Tags |
alpha1, cuttingplane, interfoam, runtime postprocessing |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plot XY of a variable vs. 3D curve | Fer | FLUENT | 2 | July 11, 2012 01:30 |
Plot variable vs timestep | Sans | CFX | 3 | May 29, 2008 19:55 |
Plot variable for the cylindrical sector | Cristiano | FLUENT | 0 | April 4, 2008 10:34 |
plot variable against length of polyline | Francesco | CFX | 0 | April 4, 2006 12:49 |
Postprocessing: two scales on one plot | Julie | Siemens | 0 | October 16, 2004 06:29 |