|
[Sponsors] |
How can I write selective additional fields using functionObjects? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 29, 2011, 12:31 |
How can I write selective additional fields using functionObjects?
|
#1 |
New Member
Fatemeh
Join Date: Apr 2011
Location: Boston
Posts: 9
Rep Power: 15 |
Hi everybody,
I want to have the positions of cell centers (x,y,z) as out put in my time directories. I know that the utility "writeCellCenters" do what I want, but I prefer to get them automatically. I searched and found out that functionObjects are capable of doing so. I found from http://openfoamwiki.net/index.php/Co...unctionObjects that the type writeAdditionalFields is exactly what I want. I found this example in their documentations: Code:
functions ( writeEnthalpy { functionObjectLibs ("libsimpleFunctionObjects.so"); type writeAdditionalFields; fieldNames ( h mu ); after 0.1; } ); Any help is appreciated. |
|
Tags |
cellcenters, functionobjects |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mesh file for flow over a circular cylinder | Ardalan | Main CFD Forum | 7 | December 15, 2020 13:06 |
Where to define which fields to write? | bgoeppner | OpenFOAM | 8 | July 15, 2011 11:00 |
emag beta feature: charge density | charlotte | CFX | 4 | March 22, 2011 09:14 |
PostChannel | maka | OpenFOAM Post-Processing | 5 | July 22, 2009 09:15 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 20:09 |