0 Bewertungen0% fanden dieses Dokument nützlich (0 Abstimmungen)
24 Ansichten15 Seiten
The document discusses various automation techniques in ANSYS Fluent and Gambit including the use of journals and Scheme programming. Journals allow recording and replaying of GUI commands. Scheme programming allows full control and customization by accessing both GUI commands and text interface. Examples are provided of using journals to generate meshes in Gambit and setting up and running simulations in Fluent. Scheme programming can be used to setup simulations with one command, create movies overlaying plots, and hooking into the GUI.
The document discusses various automation techniques in ANSYS Fluent and Gambit including the use of journals and Scheme programming. Journals allow recording and replaying of GUI commands. Scheme programming allows full control and customization by accessing both GUI commands and text interface. Examples are provided of using journals to generate meshes in Gambit and setting up and running simulations in Fluent. Scheme programming can be used to setup simulations with one command, create movies overlaying plots, and hooking into the GUI.
The document discusses various automation techniques in ANSYS Fluent and Gambit including the use of journals and Scheme programming. Journals allow recording and replaying of GUI commands. Scheme programming allows full control and customization by accessing both GUI commands and text interface. Examples are provided of using journals to generate meshes in Gambit and setting up and running simulations in Fluent. Scheme programming can be used to setup simulations with one command, create movies overlaying plots, and hooking into the GUI.
using Volume of Fluid Willem van Engen May 3, 2006 Volume of Fluid interacting, non-penetrating phases extra computation variable: volume fraction
interface contains cell 1 0 just water contains cell 1 air just contains cell 0 < < = = w w w May 3, 2006 Multiphase workflow Enable multiphase model Define materials Set initial phase Areas from mesh Marking rectangular/circular areas Using custom field function May 3, 2006 Multiphase post-processing Contours of volume fraction Phase-specific velocity vectors Reporting flux/force/flow rate for phase May 3, 2006 Multiphase example May 3, 2006 Automation in Fluent & Gambit with journals and scheme Willem van Engen May 3, 2006 Automation facilities Journals (Gambit&Fluent) record, replay & edit Scheme programs (Gambit) full programming language May 3, 2006 Gambit journals Just a list of commands from GUI Variables ($a=1) and statements Automatically saved (*.jou) Easily saved/run from GUI/command-line
May 3, 2006 just a simple square box of 1x1 meters Gambit journals an example (1) (0,0) (1,0) (1,1) (0,1) May 3, 2006 Gambit journals an example (2) / Declare variables $gridsize = 0.01
May 3, 2006 Fluent journals Save chain of actions for exact replay Gets ugly soon Unsuitable for more general use Easily created/run from GUI/command- line May 3, 2006 Fluent scheme programming Scheme (lisp) programming language Access to both GUI and text commands Hard to learn, sparse documentation Possible to hook into GUI May 3, 2006 Fluent scheme programming - uses Set window title based on options Setup a new simulation for a mesh with one command Create a movie with overlay plots May 3, 2006 Fluent scheme programming - example ; This is a comment. I love comments.