Escolar Documentos
Profissional Documentos
Cultura Documentos
Thestepsoutlinedinthistutorialdescribetheprocedureusedtoautomaticallycreateanunstructured
blockthatcontainsanisotropictetrahedra.Currently,theanisotropicmesherTRexisonlyavailablein
Gridgen.However,usingtheautotrex.glfscript,Pointwisecanbeuseduptothepointofblock
initialization.
Openpipe.pwinPointwise(seefollowingimage)
Noticethatthisfilecontainsbothdatabaseandgridelements.Therefore,whenexporting,Pointwise
shouldexportbotha.dbaand.ggfile.Alsonotethatablockhasalreadybeencreatedbutnotinitialized,
thatwillbeleftuptothescripttotakecareofautomatically.
Thenextstepistocolorthedomainsappropriatelydependingonwhethertheyareeithersymmetryor
noextrusiondomains.Symmetrydomainsmustbecoloredred(RGB255,0,0)andnoextrusiondomains
mustbecoloredblue(RGB0,0,255).Allotherdomainsareconsideredextrusiondomainsandmustnot
beredorblue.
TurnontheDomainsMask
SelecttheSymmetrydomains,dom5anddom6
GototheAttributesPanelandchangethecolorofthetwodomainstored(RGB255,0,0)
NowselecttheNoExtrusiondomains,dom1,dom2,dom3,anddom4
GototheAttributesPanelandchangethecolorofthefourdomanstoblue(RGB0,0,255)
Nowallthedomainshavebeenspecifiedaseithersymmetry,noextrusion,orextrusiondomainsandthe
projectisreadytobeexportedtoGridgen(seefollowingfigure).
Thelaststepbeforepreparingtheparams.datfileistoexportthe.dbaand.ggfiles.
ClickExporttoGridgenintheFilemenutoexportthe.dbaand.ggfiles
Afterthefileshavebeenexported,theyneedtobeplacedinthedirectorycontainingtheautotrex.glfand
params.datfiles(seefollowingfigure).
Thenextstepistoinputtherequiredinformationintotheparams.datfile.Theparams.datfilecontains
fileinformation,boundarylayerparameters,severaladvancedsolversettings,andmeshchecking
parameters.Allofthisinformationisreadandcheckedbyautotrex.glfuponexecution.
Openparams.datandfillitoutwiththecorrectfileinformation.Theotherparameterscanbeleft
attheirdefaultvalueforthistutorial,buttakesometimetolookatalltheparametersavailablein
theinputfile(seefollowingfigure).
Saveparams.dat
Oncetheinputfilehasbeenfilledoutcorrectlyandallthefilesareinthesamedirectory,theautotrex.glf
scriptcanbeexecuted.Todothis,Gridgenneedstobeexecutedinbatchmodewhilereadingtheglyph
script.FormoreinformationonexecutingGridgeninbatchmode,seetheREADME.txtdocument.
ExecuteGridgenandautotrex.glfinbatchmode(e.g.gridgenbautotrex.glf)
Asthescriptisrunning,someinformationshouldbeprintingoutinthecommandwindowlettingthe
userknowtheprogressoftheoperation.Whenthescripthasfinishedrunning,thecommandwindow
shouldhavesomediagnosticsinformationpresentedinthreetables(seefollowingfigure).
Also,anewfileshouldbepresentinthedirectorycontainingtheparams.dat,autotrex.glf,andthe.dba
and.ggfiles.Thenameofthenewgridfileshouldbethesameastheoriginalgridfilenameappeneded
withANISO(seefollowingfigure).
NowthefinalanisotropicblockcanbeexaminedinPointwise(seefollowingfigures).
Importtheoriginal.dbafile
ImporttheANISO.ggfile
SelecttheblockandgotoExamine>Volume
ClicktheCutstabandcheckEnableCuttingandchoosetheZdirection
DisableDomainsforabetterviewofthecut