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

how to monitor the plusant velocity using swak4Foam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 25, 2020, 01:34
Default how to monitor the plusant velocity using swak4Foam
  #1
New Member
 
王子阳
Join Date: Aug 2019
Posts: 29
Rep Power: 6
wangziyang is on a distinguished road
hello everyone!

i want to output the pluse velocity during calculating time,so i insert the some functions to the ControlDict, they are as follows,

fieldAverage1
{
type fieldAverage;
functionObjectLibs ( "libfieldFunctionObjects.so" );
outputControl outputTime;
enabled true;

fields
(
U
{
mean on;
prime2Mean on;
base time;
}

);
}
uix
{
type expressionField;
autowrite true;
expression "U.x-UMean.x";
outputControl outputTime;
dimension [0 1 -1 0 0 0 0];
fieldName uix;
}


but when i run the programe, the error are as follows,

--> FOAM FATAL ERROR:
Parser Error for driver FieldValueExpressionDriver at "1.5-9" :"field UMean not existing or of wrong type"
"U.x-UMean.x"
^^^^^
why UMean not existed? i also use the fieldaverageFunction to output it

anyone can help me?

best wishes!

ziyang
wangziyang is offline   Reply With Quote

Reply

Tags
monitor plusant velocity


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
LES and TKE calculations MST Main CFD Forum 3 May 30, 2016 06:26
Jumping droplets velocity - interFoam Zinedine OpenFOAM Running, Solving & CFD 0 October 6, 2015 08:25
[swak4Foam] problem with a parabolic velocity profile Claudio87 OpenFOAM Community Contributions 5 May 29, 2014 09:30
Velocity in Porous medium : HELP! HELP! HELP! Kali Sanjay Phoenics 0 November 6, 2006 06:10
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 05:13


All times are GMT -4. The time now is 21:54.