|
[Sponsors] |
Manipulating field values in a specified area of a 3D domain |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 28, 2019, 09:09 |
Manipulating field values in a specified area of a 3D domain
|
#1 |
Member
Chris Schäfer
Join Date: Apr 2017
Posts: 34
Rep Power: 9 |
Hello everyone,
I have a 3D hilly terrain and want to manipulate variables e.g. Temperature of a specific area inside the domain. That mean, I want first, run my “normal” case Steadystate that the flow is developed. (That’s of course no problem) But, afterwards I would like to change only Temperature conditions around a mountain (e.g. at the northern valley 0-50m in height (z-axis) at some specific x/y-cells inside of my domain. Afterwards I will restart the run. Is there any solution for that? |
|
March 31, 2019, 12:31 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 14 |
Yes, you can use setFields to set the temperature of some cellSet. See eg. https://github.com/OpenFOAM/OpenFOAM...akWithObstacle.
Caelan |
|
April 15, 2019, 09:25 |
|
#3 |
Member
Chris Schäfer
Join Date: Apr 2017
Posts: 34
Rep Power: 9 |
Sorry for my late reply, thank you it works.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Surface field value gives incorrect area | McReijen | ParaView | 0 | July 18, 2018 05:28 |
How to assign different values for every cells in a part of the domain | clktp | OpenFOAM Pre-Processing | 0 | April 1, 2016 11:45 |
Pressure distribution on a wall | darazsbence | CFX | 17 | October 6, 2015 10:38 |
Non overlap area fractions | saisanthoshm88 | CFX | 11 | September 17, 2015 18:42 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |