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

PostProcess Multiphase Stats over different phases

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2019, 05:37
Default PostProcess Multiphase Stats over different phases
  #1
Senior Member
 
Join Date: Jan 2014
Posts: 179
Rep Power: 12
hxaxtma is on a distinguished road
Hi guys,
just a general question. Is there a way to postProcess integral results on sampled surfaces during runtime?
At the moment I am doing this by postProcessing in Paraview and Python, my goal is to get those results during runtime.

The libfunctionObject in OF v1812 provides already mostly the function I need, just the separation into liquid and air phase is missing but it says that weightedAreaIntegrated is not possible on a surface.



Code:
    m_in
    {
        type            surfaceFieldValue;
        functionObjectLibs ("libfieldFunctionObjects.so");
        enabled         true;
        writeControl    timeStep;
	writeInterval	1;
        log             true;
        valueOutput     true;
        writeFields     false;
        surfaceFormat   vtk;
        writeArea       true;
	regionType      sampledSurface;
	name 		mischk_in;

        sampledSurfaceDict
        {
           // Sampling on triSurface
           type        sampledTriSurfaceMesh;
           surface     mischk_in.stl;
           source      cells;  // sample cells or boundaryFaces
           interpolate true;
        }
        operation       weightedAreaIntegrate;
        weightField    alpha.water;

        fields
        (
            p_rghMean
            UMean
        );
    }

Last edited by hxaxtma; March 13, 2019 at 07:32.
hxaxtma 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
Problem in Multiphase setup with phases NiBa FLUENT 4 December 2, 2023 03:42
Radial distribution function for n phases in eulerian multiphase model m.uzair FLUENT 0 November 6, 2018 11:37
Convergence Problem in Multiphase problem (three phases) m.uzair FLUENT 0 August 2, 2018 08:23
Problems to loop one phase in multiphase using UDF(Solid+fluid zones, three phases) songpen1985 Fluent UDF and Scheme Programming 1 March 14, 2015 19:42
Asigning Phases to Regions for Eularian Multiphase bb21 STAR-CCM+ 1 January 10, 2012 03:25


All times are GMT -4. The time now is 19:01.