using pyFoamCreateBoundaryPatches.py for groovybc
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? |
All times are GMT -4. The time now is 07:51. |