|
[Sponsors] |
February 28, 2014, 14:16 |
custom BC with funkySetFields
|
#1 |
Senior Member
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22 |
Honorable Herr Gschaider,
How do I get funkySetFields to play nice with my custom boundary condition? I.e. when I run it I get the following: Code:
--> FOAM FATAL IO ERROR: Unknown patchField type myCustomBoundaryCondition for patch type patch Valid patchField types are : 52 ( ... ) Ps. - I'm not Russian but unfortunately the "Canadian" language doesn't have it's own honorific ;-P |
|
February 28, 2014, 16:00 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Seriously: the boundary condition is "in" your solver, not in a separate library? If it is in a library just add that to libs in controlDict and you're fine. If it isn't then in theory there isn't much you can do. In practice there is a nice workaround: the generic boundary condition: In the controlDict add Code:
libs ( "libgenericPatchFields.so" ); Code:
disallowGenericFvPatchField 0;
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] groovyBC and funkySetFields married and got a kid named swak4Foam | gschaider | OpenFOAM Community Contributions | 169 | August 10, 2023 10:01 |
[swak4Foam] how to use funkySetFields function in muliregion case | bryant_k | OpenFOAM Community Contributions | 15 | October 15, 2021 03:50 |
How to calculate pressure forces using custom field functions? | tsagaro | FLUENT | 7 | June 23, 2017 16:45 |
Problem in sampling data of custom field function in ANSYS FLUENT v14 | apek_great | ANSYS | 1 | February 26, 2014 06:10 |
defining custom convetive terms | CFD user | CFX | 1 | February 22, 2009 23:40 |