|
[Sponsors] |
How to add new fvPatchFields to directMappedWall? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 15, 2011, 15:12 |
How to add new fvPatchFields to directMappedWall?
|
#1 |
Senior Member
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17 |
Hi,
I would like to define a new temperature boundary condition for patches between regions in multi-region solvers. I have set the target in Make/files as $FOAM_USER_LIBBIN/libuserBCs. and compiled the code. I got the target from the OF's advanced training session manual. But OpenFOAM complains that the new boundary is not a known patchField type for patch type directMappedWall. I tried to learn about directMappedWall by looking at compilation instructions for MarshakRadiation, which is one of the allowed fvPatchFields for directMappedWall. It's target is $FOAM_LIBBIN/libradiationModels. I don't see how that is related to directMappedWall. Thanks, Mirko |
|
September 16, 2011, 11:46 |
|
#2 |
Senior Member
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17 |
I also tried registering the libuserBCs.so in my ./system/controlDict, but that did not help.
Mirko |
|
September 16, 2011, 12:04 |
|
#3 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
I'm not clear on what is happening. Did your custom boundary condition compile properly? (If not, what was the error?) Then when you ran your solver, what error did you get? The one where it complains it is a generic boundary condition and value() needs to be defined or something like that?
__________________
~~~ Follow me on twitter @DavidGaden |
|
September 16, 2011, 14:01 |
|
#4 | |
Senior Member
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17 |
Quote:
Code:
--> FOAM FATAL IO ERROR: Unknown patchField type solidTemperature for patch type directMappedWall Valid patchField types are : 86 ( MarshakRadiation MarshakRadiationFixedT advective alphaSgsJayatillekeWallFunction alphaSgsWallFunction ... Mirko |
||
September 16, 2011, 15:17 |
|
#5 |
Senior Member
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17 |
I found my error. I did not correctly rename all occurances of class names in my files. OpenFOAM is not finding my boundary condition.
Mirko |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to add a source term (body force) to icoFoam? | chris Liu | OpenFOAM Programming & Development | 4 | October 27, 2014 16:38 |
solidWallMixedTemperatureCoupled and directMappedWall | mirko | OpenFOAM Running, Solving & CFD | 10 | August 22, 2014 21:23 |
Add a layer of cells, UDF, dynamic mesh or ...? | Modisa | FLUENT | 0 | March 17, 2007 12:59 |
Add Measure Markings or Coordinates to the Contour | Colin | FLUENT | 4 | August 25, 2004 10:54 |
How to add fire source in STAR-CD?? | raymond | Siemens | 2 | February 22, 2002 14:49 |