CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] using pyFoamCreateBoundaryPatches.py for groovybc

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2017, 11:24
Default using pyFoamCreateBoundaryPatches.py for groovybc
  #1
Member
 
Join Date: Feb 2014
Posts: 32
Rep Power: 12
yeharav is on a distinguished road
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?
yeharav is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:35.