|
[Sponsors] |
February 5, 2021, 05:28 |
imposed boundary conditions
|
#1 |
New Member
Thibaut
Join Date: Nov 2020
Posts: 21
Rep Power: 6 |
Hi, I'm trying to impose some boundary conditions for the velocity, pressure and temperature. The geometry is easy: unit square.
I'd like to impose something like x^4+xy^4 on a patch. How can I do ? |
|
February 10, 2021, 16:48 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
may be expression syntax?
https://www.openfoam.com/releases/op...processing.php https://www.openfoam.com/documentati...on-syntax.html
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
February 11, 2021, 03:10 |
|
#3 |
New Member
Thibaut
Join Date: Nov 2020
Posts: 21
Rep Power: 6 |
Yes, I found it. I used the function SetExprBoundaryFields with the file SetExprBoundaryFieldsDict
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for Automatic Solution Initialization for previous case data file | gartz89 | Fluent UDF and Scheme Programming | 6 | March 30, 2020 08:38 |
Out File does not show Imbalance in % | Mmaragann | CFX | 5 | January 20, 2017 11:20 |
Error - Solar absorber - Solar Thermal Radiation | MichaelK | CFX | 12 | September 1, 2016 06:15 |
Problem in setting Boundary Condition | Madhatter92 | CFX | 12 | January 12, 2016 05:39 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |