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

Sampling field variables with time on a line

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 12, 2019, 15:00
Default Sampling field variables with time on a line
  #1
New Member
 
S.JAWAHAR SIVABHARATHY
Join Date: Jan 2011
Posts: 7
Rep Power: 11
sjsivabharathy is on a distinguished road
Hi all,

I have included the following in my controlDict file
profiles
{
type sets;
libs ("libsampling.so");
enabled true;
verbose true;
interpolationScheme cellPoint;
outputControl timeStep;
outputInterval 1;
setFormat raw;
fields
(
p
);
sets
(
upper
{
type lineUniform;
axis z;
start (-0.5 0.5 0);
end (0.5 0.5 0);
nPoints 500;
}
lower
{
type lineUniform;
axis z;
start (-0.5 -0.5 0);
end (0.5 -0.5 0);
nPoints 500;
}
back
{
type lineUniform;
axis z;
start (0.5 -0.5 0);
end (0.5 0.5 0);
nPoints 500;
}
);
}
I could write the pressure data at the specified location. But it generates
a new folder for every time step and writes the data inside that folder.
Can someone help me how to append the data in one file.


Thanks,
S Jawahar.
sjsivabharathy is offline   Reply With Quote

Reply

Tags
profile, sampling

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
[General] Extracting ParaView Data into Python Arrays Jeffzda ParaView 19 June 11, 2020 16:54
[Gmsh] Structured meshing in Gmsh the_phew OpenFOAM Meshing & Mesh Conversion 18 April 16, 2020 08:14
courant number increases to rather large values 6863523 OpenFOAM Running, Solving & CFD 21 November 10, 2019 11:14
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 23:40
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


All times are GMT -4. The time now is 16:53.