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

Multiple streamLines measurement stations

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 7, 2014, 12:15
Default Multiple streamLines measurement stations
  #1
New Member
 
Luca
Join Date: Feb 2014
Posts: 19
Rep Power: 12
lfrigeri3 is on a distinguished road
Hi,

I need to monitor the profile of my variable while OF is running. I find this functions and it works but ... I need multiple points of measurement, not just one.

Code:
functions
{
    streamLines
    {
        type            streamLine;

        // Where to load it from (if not already in solver)
        functionObjectLibs ("libfieldFunctionObjects.so");

        // Output every
        outputControl   outputTime;
        // outputInterval 10;

        setFormat       vtk; //gnuplot;//xmgr;//raw;//jplot;//csv;//ensight;

        // Velocity field to use for tracking.
        UName U;

        // Tracked forwards (+U) or backwards (-U)
        trackForward    true;

        // Names of fields to sample. Should contain above velocity field!
        fields (p k U);

        // Steps particles can travel before being removed
        lifeTime        10000;

        // Number of steps per cell (estimate). Set to 1 to disable subcycling.
        nSubCycle 5;

        // Cloud name to use
        cloudName       particleTracks;

        // Seeding method. See the sampleSets in sampleDict.
        seedSampleSet   uniform;  //cloud;//triSurfaceMeshPointSet;

        uniformCoeffs
        {
            type        uniform;
            axis        x;  //distance;

            start       (-0.0205 0.001  0.00001);
            end         (-0.0205 0.0251 0.00001);
            nPoints     10;
        }
    }
}
How can I add more than one point? Example?
Thanks
lfrigeri3 is offline   Reply With Quote

Old   February 8, 2014, 04:27
Default
  #2
New Member
 
Luca
Join Date: Feb 2014
Posts: 19
Rep Power: 12
lfrigeri3 is on a distinguished road
Solved. Just replicate the whole code:

Code:
functions
(
streamLines1
{
...
...
...}.
streamLines2
{
...
...
...
}
.
.
.
streamLinesN
{
...
...
...
}
);
Bye
lfrigeri3 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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
[General] Problems with streamlines for 2D porous media flow simulations twophaseflow ParaView 4 February 11, 2014 14:32
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
Streamlines under Moving reference frame; Spiral streamline from Tecplot aiqch Tecplot 2 October 29, 2009 23:27
STAR-CD, moving grid and streamlines Mohamed GUEROUACHE Main CFD Forum 1 September 13, 1999 13:33


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