|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Andy
Join Date: Jul 2017
Posts: 63
Rep Power: 10 ![]() |
Hi folks,
I am using the OF2412 and I ouwld like tp write out special postprocessing logs for which there are not prepared function objects. For example when simulationg with pimpleFoam the Head at the outlet of a pump would be calculated as: (p+U^2/2)/9.81 Online, I did find some hints, that functionObjects such as "type surfaceFieldValue" can process expressions, but no full information, which would guide me. Maybe someone can provide an example of such a function object. Otherwise I have to conitue using "type coded;" function object which is not very handy. Thank you |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,347
Rep Power: 32 ![]() ![]() |
Hello,
The exprField function object should do the job! https://doc.openfoam.com/2312/tools/...eld/exprField/ Cheers, Yann |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Difference Between UDF and Expressions in Thermal Comfort Evaluation? | danisnug | FLUENT | 7 | April 11, 2023 05:59 |
| [snappyHexMesh] snappyHexMesh not deleting the inside cells | Bdew8556 | OpenFOAM Meshing & Mesh Conversion | 9 | May 14, 2019 11:53 |
| regarding simulation of heat and mass transfer inside thermosyphon | 1757003@kiit.ac.in | ANSYS | 1 | May 14, 2019 03:06 |
| [snappyHexMesh] Inside and outside mesh with snappyhexmesh | nzy102 | OpenFOAM Meshing & Mesh Conversion | 21 | February 16, 2016 17:42 |
| How to determine a point is inside a tetrahedral? | G.P. Xia | Main CFD Forum | 16 | January 12, 2000 12:15 |