|
[Sponsors] |
How to set the requirements for a boundray condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 10, 2016, 03:10 |
How to set the requirements for a boundray condition
|
#1 |
Member
Janry
Join Date: Oct 2015
Posts: 46
Rep Power: 10 |
Hi Foamers,
I've faced with a general problem, that is how to know what the requirements for a boundary condition? For example, in the "surfaceNormalFixedValue" boundary condition in 0/U: { type surfaceNormalFixedValue; refValue 10; Value (10 10 0); } And for the temperatureDirectedInletVelocity: { type temperatureDirectedInletVelocity; inletDirection uniform (-1.0 0.0 0.0); phi phi; dimensions T T; T0 uniform 293.0; cylindricalCS yes; omega (0.0 0.0 -10.); value uniform 0; } If I want to use a new boundary condition, such like "pressureInletOutletVelocity" without any tutorial, how can I know how to set the boundary conditions? Thanks in advance, Janry |
|
May 10, 2016, 09:11 |
|
#2 |
Senior Member
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18 |
There are two ways that usually are available
1. look at the original code, usually there's a comment section in header file that explains what does this boundary do, or how to use it (unfortunately not the case in your interested BC). Yet you can always go through the file and see what has been done. If you have general knowledge of OF it's not going to be overwhelming, just a little time. check: https://github.com/OpenFOAM/OpenFOAM...OutletVelocity 2. Use the banana method, write banana where you don't know what to write, and OF complains that it doesn't recognizes your keyword, then it suggests a list of available keywords and you'll get to see what options are available. |
|
May 10, 2016, 12:28 |
|
#3 | |
Senior Member
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18 |
oh, and I forgot, you can search the tutorials to see if there's any similar case,
Quote:
|
||
May 10, 2016, 20:06 |
|
#4 |
Member
Janry
Join Date: Oct 2015
Posts: 46
Rep Power: 10 |
Hi Mahdi,
Thanks for your directions! With your help I've got the information and known how to set up the boundary conditions! Thanks again. Janry |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
setting of level set method as initial condition | sooroo3 | FLUENT | 4 | July 31, 2018 04:20 |
how to set complex boundary condition, namely a developed velocity in inlet of pipe? | milad653279 | OpenFOAM Pre-Processing | 3 | January 4, 2016 09:46 |
How to set boundary condition in supersonic airflow | sailor | FLUENT | 0 | December 14, 2011 01:44 |
How to set the fixheatflux boundary condition | LijieNPIC | OpenFOAM | 7 | December 10, 2010 12:16 |
can i set boundary condition in fluent? | edongliang | FLUENT | 3 | October 9, 2008 03:15 |