|
[Sponsors] |
January 21, 2016, 11:56 |
Reading and setting the values of fields
|
#1 |
New Member
Philippe Gambron
Join Date: Apr 2015
Location: Oxford
Posts: 5
Rep Power: 11 |
Hello,
I would like to obtain the values of fields like U or p and to to be able to set them. The goal would be to use an external solver. I have gone through the documentation and started digging in the source code but found no obvious way to do this. How could I do? Thanks! |
|
January 22, 2016, 06:00 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
in swak4Foam there is an utility called manipulateField, then you can set internalField with user-defined functions
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
January 22, 2016, 09:10 |
|
#3 |
New Member
Philippe Gambron
Join Date: Apr 2015
Location: Oxford
Posts: 5
Rep Power: 11 |
Thank you!
This seems really handy. |
|
Tags |
field |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TimeVaryingMappedFixedValue | irishdave | OpenFOAM Running, Solving & CFD | 32 | June 16, 2021 07:55 |
[Commercial meshers] Mesh conversion problem (fluent3DMeshToFoam) | Aadhavan | OpenFOAM Meshing & Mesh Conversion | 2 | March 8, 2018 02:47 |
using chemkin | JMDag2004 | OpenFOAM Pre-Processing | 2 | March 8, 2016 23:38 |
Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 18:51 |
Reading field values and setting them as boundary conditions | sega | OpenFOAM Running, Solving & CFD | 1 | July 7, 2009 07:18 |