|
[Sponsors] |
Volume average of variable over piece of entire domain |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 1, 2024, 07:34 |
Volume average of variable over piece of entire domain
|
#1 |
New Member
Join Date: Jul 2024
Posts: 4
Rep Power: 2 |
Hey guys,
I have set up my simulation using cfmesh as a mesher and simpleFoam as my solver. My simulation run well and that is not my issue. I would like to make a function which should do a volume average of k (turbulent kinetic energy) for each interaction in a certain part of my hole domain. It would be a cuboid where I know the coordinates of the corners. If you could help me it would be of great help. Thanks Kind regards, pchris22 |
|
August 1, 2024, 12:15 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
Hello,
You can use the volFieldValue function object for that.
In order to compute values only on a portion of your simulation domain, you will have to define a cellZone, either directly with snappyHexMesh when meshing, or afterward on an existing mesh with topoSet. Regards, Yann |
|
Tags |
post-processing |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sudden increase the residual of Maxwell's equations | hsezsz | CFX | 2 | October 13, 2016 07:58 |
[snappyHexMesh] sHM layer process keeps getting killed | MBttR | OpenFOAM Meshing & Mesh Conversion | 4 | August 15, 2016 04:21 |
injection problem | Mark New | FLUENT | 0 | August 4, 2013 02:30 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 06:42 |
Volume fraction for entire domain in interFoam | jmcneill | OpenFOAM Post-Processing | 5 | May 22, 2012 03:10 |