|
[Sponsors] |
February 8, 2016, 15:01 |
Volume integration of solution variable
|
#1 |
New Member
Anonymous
Join Date: Aug 2013
Location: Europe
Posts: 24
Rep Power: 12 |
Hi!
I need to compute a volume integral over the computational domain (for now a 2D airfoil). Specifically, I need to find {\int \int - x \nabla\cdot V dx dy}. Now I could not find any built-in capability to do so, so I have to implement it myself. Could you please give some advice on best way of doing that? My guess is that I can reuse some parts of the current code where the residuals are being computed. Thanks! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
alphaEqn.H in twoPhaseEulerFoam | cheng1988sjtu | OpenFOAM Bugs | 15 | May 1, 2016 16:12 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 05:42 |
On the damBreak4phaseFine cases | paean | OpenFOAM Running, Solving & CFD | 0 | November 14, 2008 21:14 |
UDF solution variable for time-averaged mass frac? | A. S. | FLUENT | 0 | May 14, 2007 16:44 |
Env variable not set | gruber2 | OpenFOAM Installation | 5 | December 30, 2005 04:27 |