Average values on Boundary Conditions
Posted July 17, 2017 at 05:42 by kindle
Great example of profit from the Openfoam
Quote:
helloworld11,
patchIntegrate and patchAverage only operate on volScalarFields, so if you decompose your velocity field into its components first using foamCalc, i.e.
Then you can run patchAverage on each component:
You can also use foamCalc to do other things like calculate the magnitude of a volVectorField:
If you type something like "foamCalc banana" it will give you all the options.
Philip
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
Code:
patchAverage Ux myInlet
Code:
foamCalc mag U
Philip
Total Comments 0