|
[Sponsors] |
March 10, 2021, 11:03 |
Defining Values in the setFieldsDict
|
#1 |
Member
Join Date: Dec 2020
Posts: 38
Rep Power: 5 |
Hi,
I defined a geometrical shape in toposetDict which is shown as the red region in the attached picture. Now I want to give the initial values for some parameters inside this region. I think it would be possible to give initial values using setFieldsDict. How can be accessed in the Setfieldsdict to the region which is defined in the toposetDict? Thanks a lot! |
|
July 25, 2021, 18:56 |
|
#2 |
Member
MNM
Join Date: Aug 2017
Posts: 69
Rep Power: 9 |
A workaround to this could be to transform the area of interest (red highlighted portion of ur figure) in the cylindrical coordinate system. This will help to PRECISELY define the boundaries of the domain. Then you can use funkySetFields along with multiple "conditional operators".
More on the funkySetField can be found at https://openfoamwiki.net/index.php/C...funkySetFields |
|
Tags |
openfoam, setfieldsdict, toposetdict |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
using chemkin | JMDag2004 | OpenFOAM Pre-Processing | 2 | March 8, 2016 23:38 |
Velocity values are normal but pressure values are too big | rv82 | OpenFOAM Running, Solving & CFD | 4 | April 13, 2015 04:59 |
Setting patch field values equal to internal field values | leroyv | OpenFOAM Programming & Development | 1 | October 21, 2014 16:49 |
Loading Cell Values in Tecplot | P1361 | OpenFOAM Post-Processing | 3 | September 16, 2014 05:02 |
Plotting raw data values | Wilesco | Siemens | 0 | January 5, 2006 06:34 |