|July 27, 2012, 09:32||
Join Date: May 2012
Posts: 2Rep Power: 0
I am new to OpenFoam and would like to realize a substract between two vector fields.
I have tried to use foamCalc but without success:
"foamCalc addSubtract UL ULMean"Create time
Create mesh for time = 0
--> FOAM FATAL ERROR:
Invalid calcMode: ULMean
Valid calcModes are add and subtract
From function calcTypes::addSubtract:reCalc
in file basic/addSubtract/addSubtract.C at line 229.
If someone have a idea it would be great.
my goal is to calculate the RMS vorticity fluctuation,is somebody know how to do it?
thank you for your help!!
|July 30, 2012, 02:21||
Join Date: Sep 2009
Posts: 790Rep Power: 14
The correct syntax would be something like
foamCalc addSubtract UL subtract -field ULmean -resultName ULfluct
A better way to calculate the RMS values, may be to use function objects during runtime: http://www.cfd-online.com/Forums/ope...ldaverage.html
|Thread||Thread Starter||Forum||Replies||Last Post|
|foamCalc and chtMultiRegion||sixwp||OpenFOAM Programming & Development||1||March 20, 2014 14:03|
|FoamCalc writing a new function wakeField||markc||OpenFOAM Post-Processing||5||December 24, 2008 05:09|
|Ucomponents utility not found||ep4||OpenFOAM Paraview & paraFoam||1||November 28, 2008 04:45|