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

Average values on Boundary Conditions

Register Blogs Community New Posts Updated Threads Search

Rate this Entry

Average values on Boundary Conditions

Posted July 17, 2017 at 05:42 by kindle

Great example of profit from the Openfoam

Quote:
Originally Posted by bigphil View Post
helloworld11,

patchIntegrate and patchAverage only operate on volScalarFields, so if you decompose your velocity field into its components first using foamCalc, i.e.
Code:
foamCalc components U
Then you can run patchAverage on each component:
Code:
patchAverage Ux myInlet
You can also use foamCalc to do other things like calculate the magnitude of a volVectorField:
Code:
foamCalc mag U
If you type something like "foamCalc banana" it will give you all the options.

Philip
Views 2978 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0

Comments

 

All times are GMT -4. The time now is 00:02.