CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

pyFoamClearBoundaryValue.py with vectors

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Carlo_P

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 20, 2019, 07:21
Default pyFoamClearBoundaryValue.py with vectors
  #1
Senior Member
 
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8
Carlo_P is on a distinguished road
Hey,
I found lots of interesting utilities called pyFoam...


One of this (pyFoamClearBoundaryValue.py ), allows the change of the value in the BC in a very fast way.


For example, if I would like to change the oemga value, I can simply write:

pyFoamClearBoundaryValue.py 0/omega Inlet --value 5


The problem is that I don't know how to manage vetor.


I tried to use



  • pyFoamClearBoundaryValue.py 0/U Inlet --value 5 0 0
  • pyFoamClearBoundaryValue.py 0/U Inlet --value (5 0 0)
Any other idea?


Thanks a lot,
Cheers,
Carlo
Carlo_P is offline   Reply With Quote

Old   August 21, 2019, 10:29
Default
  #2
Senior Member
 
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8
Carlo_P is on a distinguished road
After different test, I found the correct way.


pyFoamClearBoundaryValue.py 0/U Inlet --value "(5 0 0)"


This works!
gschaider likes this.
Carlo_P is offline   Reply With Quote

Reply

Tags
pyfoam


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[GAMBIT] Problems with surface vectors orientation when generating mesh with GAMBIT solalito ANSYS Meshing & Geometry 0 April 27, 2015 10:57
Can't disply vectors ghost82 EnSight 5 November 28, 2014 10:36
[General] Glyths plot with cell_data vectors RicardoGoncalves ParaView 4 May 19, 2014 14:18
Integration Points and normal area vectors Bloshchitsyn Vladimir CFX 0 November 26, 2007 08:35
2 velocity vectors ashish CFX 3 June 19, 2007 19:32


All times are GMT -4. The time now is 04:09.