CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

[GAMBIT] Storing Geometry Volume in GAMBIT

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 28, 2011, 02:45
Default Storing Geometry Volume in GAMBIT
  #1
New Member
 
smk4
Join Date: May 2009
Location: China
Posts: 5
Rep Power: 17
smk4 is on a distinguished road
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.
smk4 is offline   Reply With Quote

Old   June 28, 2011, 09:14
Default
  #2
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
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 unavail­able 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
-mAx- is offline   Reply With Quote

Old   June 30, 2011, 10:19
Default
  #3
New Member
 
smk4
Join Date: May 2009
Location: China
Posts: 5
Rep Power: 17
smk4 is on a distinguished road
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.
smk4 is offline   Reply With Quote

Old   June 30, 2011, 11:00
Default
  #4
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
Quote:
Originally Posted by smk4 View Post
This VOLUME command doesn't work in GAMBIT, I tried it earlier but it gives error.
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
-mAx- is offline   Reply With Quote

Reply


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] 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


All times are GMT -4. The time now is 10:32.