|
[Sponsors] |
June 28, 2011, 02:45 |
Storing Geometry Volume in GAMBIT
|
#1 |
New Member
smk4
Join Date: May 2009
Location: China
Posts: 5
Rep Power: 17 |
I would like to know how to store geometry volume information from the command below or any other command to a variable or text file:
volume summarize "volume.1" I only need volume value in m^3. I can store face area value in a variable with $A=AREA("face.1") but couldn't find about volume. |
|
June 28, 2011, 09:14 |
|
#2 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
if it can help you....
VOLUME—Volume (mass) VOLUME returns a numeric value that represents the volume (mass) of a specified real volume. (NOTE: If the volume (mass) computation is unavailable for the volume (for example, the volume is virtual or faceted), the function returns a value of -1. If the specified volume does not exist in the model, the function returns a value of -2.) Format VOLUME(volume)Example The following function call returns the volume (mass) of a volume labeled volume.306. $X = VOLUME("volume.306")
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
June 30, 2011, 10:19 |
|
#3 |
New Member
smk4
Join Date: May 2009
Location: China
Posts: 5
Rep Power: 17 |
Thanks for the reply.
This VOLUME command doesn't work in GAMBIT, I tried it earlier but it gives error. However, i am able to extract volume value by first executing volume summarize command and then saving the .dbs file. Now this volume value is saved in .trn file and I am able to read the value in my program using a small subroutine. |
|
June 30, 2011, 11:00 |
|
#4 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
The paragraph I mentionned comes from gambit 2.4 Help (but doesn't appear in 2.3 version)
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GAMBIT] how to mesh a 3d spiral geometry in gambit | seyedashraf | ANSYS Meshing & Geometry | 9 | July 4, 2013 06:42 |
[Commercial meshers] negative volume in gambit | sofie1 | OpenFOAM Meshing & Mesh Conversion | 6 | January 18, 2012 03:34 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
How to import the PRO/E geometry negative volume | Flavio | CFX | 4 | October 18, 2006 16:25 |
Modifying geometry in GAMBIT | Vidya Raja | FLUENT | 0 | November 2, 2005 10:41 |