|
[Sponsors] |
July 10, 2008, 08:27 |
Hello
I am looking at the c
|
#1 |
Member
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 17 |
Hello
I am looking at the code of rhoSonicFoam, and i can't spot any place where the BC's are applied. It seems to work quite magically. I find this quite perplexing. Any help will be much appreciated as i have been staring at the code for a whole day. Thanks Srinath |
|
July 10, 2008, 09:09 |
i believe the bcs are applied
|
#2 |
Member
kshitij neroorkar
Join Date: Mar 2009
Location: Michigan, USA
Posts: 32
Rep Power: 17 |
i believe the bcs are applied when you call solve
|
|
July 12, 2008, 09:02 |
Srinath,
The boundary condi
|
#3 |
New Member
Jean-Luc Pelerin
Join Date: Mar 2009
Posts: 21
Rep Power: 17 |
Srinath,
The boundary conditions are read when you create the fields (see file createFields.H). Each field holds the boundary condition that are specified in the corresponding file (0/U, 0/p, ...). And as explained by kshitij, when you call solve on a given equation, the boundary conditions, associated to the field the equation refers to, will be taken into account. I hope it helps. If you want more details, just ask or start reading the code of the fields objects. Jean-Luc |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
RhoTurbFoam sonicFoam rhoSonicFoam | mwibmer | OpenFOAM Bugs | 2 | September 1, 2008 04:28 |
RhoSonicFoam errors | srinath | OpenFOAM Running, Solving & CFD | 0 | June 3, 2008 07:06 |
RhoSonicFoam | srinath | OpenFOAM Running, Solving & CFD | 0 | May 30, 2008 01:21 |
RhoSOnicFoam | shuo | OpenFOAM Running, Solving & CFD | 2 | November 6, 2006 00:25 |
RhoSonicFoam | shuo | OpenFOAM Running, Solving & CFD | 1 | October 9, 2006 19:57 |