|
[Sponsors] |
[General] using pyFoamCreateBoundaryPatches.py for groovybc |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Join Date: Feb 2014
Posts: 32
Rep Power: 12 ![]() |
Hi all,
I am trying to use pyFoamCreateBoundaryPatches.py to write groovy bc. However, the line removes the qoutes (") and so I have to correct it manually. I am running pyFoamCreateBoundaryPatches.py --verbose --overwrite --filter="lamp" --default="{'type':'groovyBC','gradientExpression': '-9.81*rhok_tag','fractionExpression':'"0"'}" 0/p_rgh""" I get: lamp { fractionExpression 0; gradientExpression -9.81*rhok_tag; type groovyBC; } and not lamp1 { fractionExpression "0"; gradientExpression "-9.81*rhok_tag"; type groovyBC; } I have tried to put " or just "" but to no avail. Any ideas? |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|