Vous êtes sur la page 1sur 37

Lecture8

NonConformalInterfaces&MovingZones
14.0Release

IntroductiontoANSYS
FLUENT
1

2011ANSYS,Inc.

January19,2012

Release14.0

Introduction
LectureTheme:
ManyCFDapplicationsacrossindustriesinvolvesystemsordeviceswith
movingparts.FLUENToffersmanydifferentmodelsforrotatingmachinery,
forarbitraryprescribedmotionandforobjectswhosepathisdeterminedby
theflow.
LearningAims:
Youwilllearn:
Howtodefinenonconformalinterfacesandperiodicboundaryconditions
Themodelsavailableforrotatingmachinerysuchasthemultiplereference
frameandslidingmeshmodels
Thedifferentdynamicmeshingmethodsforarbitrarymotion,includingthe
coupled6DOFsolver
LearningObjectives:
Youwillbeabletousenonconformalmeshesandwillbecomefamiliarwith
FLUENTsmodelsforsystemswithmovingpartsandwhenaparticularmodel
isapplicable.
Introduction
2

2011ANSYS,Inc.

NonConformalInterfaces
January19,2012

RotatingZones

DynamicMesh

Summary
Release14.0

NonconformalInterfaces

Overview
Acrossaninterfacebetweentwocellzones,thenodesmayormaynotexactly
align

Ifthenodesmatchperfectly,thisisaConformalmesh

IfusingDesignModeler,combiningbodiesintoasinglepartwillgiveaconformalmesh
Ifthenodesdonotmatchup,thisisaNonConformalmesh
FLUENTcaninterpolateacrosstheinterface,butthismustbedefinedintheGUI.
Ifnot,FLUENTwilltreattheinterfaceasawall,andnofluidcanflowthrough.

Conformal
Introduction
3

2011ANSYS,Inc.

NonConformalInterfaces
January19,2012

NonConformal
RotatingZones

DynamicMesh

Summary
Release14.0

NonconformalInterfaces

Overview
NonconformalInterfacescanbeusedfor:
Connectionofmismatchedmeshes(hextotet forexample)

asinglemeshfilemaycontainnonmatchingmeshregionsandrequirenon
conformalinterfaces
Changesinreferenceframesbetweencellzones
evenifthemeshmatches
Connectdifferenttypesofcellzonestogether(e.g.FluidandSolid)
Createperiodicregionswithinadomain

Introduction
4

2011ANSYS,Inc.

NonConformalInterfaces
January19,2012

RotatingZones

DynamicMesh

Summary
Release14.0

NonconformalInterfaces

InsertingNonconformalInterfaces
Tocreateanonconformalinterface:
Step1:Define/BoundaryConditions
Changethetypeofeachpairofzones
thatcomprisesthenonconformal
boundarytointerface

Step2:Define/MeshInterfaces
EnteranamefortheinterfaceintheMeshInterfacetextentrybox
Specifythetwointerfacezonesthatcomprisethemeshinterfacebyselectingoneormore
zonesintheInterfaceZone1listandoneormorezonesintheInterfaceZone2list
Ifoneofyourinterfacezonesismuchsmallerthantheother,youshouldspecifythesmallerzone
asInterfaceZone1toimprovetheaccuracyoftheintersectioncalculation

EnablethedesiredInterfaceOptions ifappropriate

Introduction
5

2011ANSYS,Inc.

NonConformalInterfaces
January19,2012

RotatingZones

DynamicMesh

Summary
Release14.0

NonconformalInterfaces

PeriodicBoundaryCondition
TocreateaPeriodicboundarycondition
EnablethePeriodicBoundaryConditionoptionintheMeshinterfacespanel
SelecteitherTranslationalorRotationalastheperiodicboundaryconditionType
RetaintheenableddefaultsettingofAutoComputeOffsetifyouwantANSYSFLUENTto
automaticallycomputetheoffset

Meshcanbenonconformal

TranslationalPeriodicity
Simulatesgeometriesthathavetranslational
periodicity
Allowsforeitherthemassflowrateorthe
pressurechangeacrosstheinterfacetobe
specified
Thequantitynotspecifiedwillbepartofthe
solution

RotationalPeriodicity
Simulatesrotationallyperiodicgeometries
Beforeproceeding,youhavetocorrectlyenter
therotationalaxisforthecorrespondingcell
zoneintheBCpanel

Introduction
6

2011ANSYS,Inc.

NonConformalInterfaces
January19,2012

RotatingZones

DynamicMesh

Summary
Release14.0

IntroductiontoMovingZones
Manyflowproblemsinvolvedomainswhichcontain
translatingorrotatingcomponents

Twotypesofmotionarepossible:translationaland
rotational

Therearetwobasicmodelingapproachesformoving
domains:

MovingReferenceFrames
Frameofreferenceisattachedtothemovingdomain
Governingequationsaremodifiedtoaccountfor
movingframe

Moving/DeformingDomains
Domainpositionandshapearetrackedwithrespectto
astationaryreferenceframe
Solutionsareinherentlyunsteady
Introduction
7

2011ANSYS,Inc.

NonConformalInterfaces
January19,2012

RotatingZones

DynamicMesh

Summary
Release14.0

MovingZones

MovingReferenceFramesvs.MeshMotion
y

MovingReferenceFrame
Domain moveswithcoordinatesystem
Tofollowthemotionofthebody,topologyofthemesh
doesnotneedtobeupdated
Rotation/TranslationoftheMovingdomain

MeshMotion
Domainchangesshapeasafunctionoftime
Tofollowthemotionofthebody,topologyofthemesh
needtobeupdated
Smoothing/Remeshing ofthedomain

Introduction
8

2011ANSYS,Inc.

NonConformalInterfaces
January19,2012

RotatingZones

DynamicMesh

Summary
Release14.0

MovingZones

RotatingEquipment
Whyusearotatingreferenceframe?
Aflowfieldwhichisunsteadywhenviewedinastationaryframecan
becomesteadywhenviewedinarotatingframe
Steadystateproblemsareeasiertosolve...
Additionalaccelerationtermsareaddedtothemomentumequations
SimplerBCs
Lowcomputationalcost
Easiertopostprocessandanalyze

Limitation:

Centrifugal
Compressor
(single blade passage)

Youmaystillhaveunsteadinessintherotatingframedueto
turbulence,circumferentiallynonuniformvariationsinflow,
separation,etc.
Example:vortexsheddingfromfanbladetrailingedge

Rotationallyperiodicboundariescanbeemployedforefficiency
(reduceddomainsize)
Introduction
9

2011ANSYS,Inc.

NonConformalInterfaces
January19,2012

RotatingZones

DynamicMesh

Summary
Release14.0

MovingZones

Singlevs.MultipleReferenceFrameModeling
Whendomainsrotateatdifferentratesorwhenstationarywallsdonot
formsurfacesofrevolutionMultipleReferenceFrames(MRF)areneeded
baffle

stationarywall

stationary wall

SRFis sufficient

Introduction
10

2011ANSYS,Inc.

MRFis necessary

NonConformalInterfaces
January19,2012

stationarywall

RotatingZones

MRFis necessary

DynamicMesh

Summary
Release14.0

MovingZones

DifferentApproaches:
OverviewofModelingApproaches:
SingleReferenceFrame(SRF)
Entirecomputationaldomainisreferredtoamovingreferenceframe
steadystate

MultipleReferenceFrame(MRF)
Selectedregionsofthedomainarereferredtomovingreferenceframes
Interactioneffectsareignored
steadystate

MixingPlane(MPM)
Influenceofneighboringregionsaccountedforthroughuseofamixingplanemodelat
rotating/stationarydomaininterfaces
Circumferentialnonuniformitiesintheflowareignored
steadystate

SlidingMesh(SMM)
Motionofspecificregionsaccountedforbyameshmotionalgorithm
Flowvariablesinterpolatedacrossaslidinginterface
Unsteadyproblem cancaptureallinteractioneffectswithcompletefidelity,but
morecomputationallyexpensivethanSRF,MRF,orMPM

Introduction
11

2011ANSYS,Inc.

NonConformalInterfaces
January19,2012

RotatingZones

DynamicMesh

Summary
Release14.0

MovingZones

DefiningaMRFZone
ThesimplestapproachtosetupandsolveisusingaMovingReferenceFrame
Solutionissteadystate
Meshneveractuallymoves,localaccelerationsappliedtoeachgridcell
Thisisapplicableifthereisasteadystatesolutiontotheproblem,so:
Exactrelativepositionsofmovingandstationary(rotor/stator)partsdoesnotmatter
Novortexsheddingorothertransientphenomena

Foreachcellzone,enable
FrameMotionandsetthe
detailsofthemotion.

Thismotioncanbedefinedrelativetoanother
zone,itdoesnthavetobesettoabsolutecoordinates

Introduction
12

2011ANSYS,Inc.

NonConformalInterfaces
January19,2012

RotatingZones

DynamicMesh

Summary
Release14.0

MovingZones

DefiningaSlidingMeshproblem
Inotherproblems,onemustactuallymovethemeshcomponents.Thesolutionistherefore
transient.

DefinethelinearorrotationalmotionofeachzonetouseaslidingzonebysettingMesh
Motion

Rememberthatinthiscasethedifferentcellzonesareactuallymovedateachtimestep.
Makesurethemodelisalwayssavedbeforetestingthemotion!
Otherusefultipsaboutrunningatransientsimulation(likegeneratingimagesontheflywillbegivenin
alaterlecture.

Introduction
13

2011ANSYS,Inc.

NonConformalInterfaces
January19,2012

RotatingZones

DynamicMesh

Summary
Release14.0

MovingZones

MeshDeformation
MeshDeformationcanbeappliedin
simulationswhereboundariesorobjects
aremoved
Thesolvercalculatesnodaldisplacementsoftheseregions
andadjuststhesurroundingmeshtoaccommodatethem

Examplesofdeformingmeshesinclude

Automotivepistonmovinginsideacylinder
Aflapmovingonanairplanewing
Avalveopeningandclosing
Anarteryexpandingandcontracting

Introduction
14

2011ANSYS,Inc.

NonConformalInterfaces
January19,2012

RotatingZones

DynamicMesh

Summary
Release14.0

MovingZones

DynamicMesh(DM)Methods
Internalnodepositionsareautomaticallycalculatedbasedonuserspecified
boundary/objectmotion,celltype,andmeshingschemes

BasicSchemes
Springanalogy(smoothing)
Localremeshing
Layering

OtherMethods

2.5D
Userdefinedmeshmotion
Incylindermotion(RPM,strokelength,crankangle,)
PrescribedmotionviaprofilesorUDF
Coupledmotionbasedonhydrodynamicforcesfromtheflowsolution,viaFLUENTssixdegreeof
freedom(6DOF)solver

Introduction
15

2011ANSYS,Inc.

NonConformalInterfaces
January19,2012

RotatingZones

DynamicMesh

Summary
Release14.0

MovingZones

DynamicMeshMethods

Layering
Layersofcellsaregeneratedand
collapsedastheyareoverrunby
themovingboundary.Layeringis
appropriateforquad/hex/prism
mesheswithlinearorrotational
motionandcantoleratesmallor
largeboundarydeflections

Introduction
16

2011ANSYS,Inc.

LocalRemeshing

SpringAnalogy

Inlocalremeshing,ascellsbecome
skewedduetomovingboundaries,
cellsarecollapsedandtheskewed
regionisremeshed.Localremeshing
isappropriatefortri/tet mesheswith
largerangeofboundarymotion

Springanalogyisusefulwhenthere
aresmallboundarydeformations.
Theconnectivityandcellcountis
unchangedduringmotion.Spring
analogyisappropriatefortri/tet
mesheswithsmalldeformations

NonConformalInterfaces
January19,2012

RotatingZones

DynamicMesh

Summary
Release14.0

MovingZones

TheDynamicMesh(DM)Model
Combinationofapproaches:
Initialmeshneedsproperdecomposition
Layering:
Valvetravelregion
Lowercylinderregion

Remeshing:
Uppercylinderregion

Nonconformalinterface
betweenzones

Anadvancedtrainingcourseon
DynamicMeshisavailable
Introduction
17

2011ANSYS,Inc.

NonConformalInterfaces
January19,2012

RotatingZones

DynamicMesh

Summary
Release14.0

MovingZones

6DOFCoupledMotion
Objectsmoveasaresultofaerodynamic
forcesandmomentsactingtogetherwith
otherforces,suchasthegravityforce,
thrustforces,orejectorforces

Insuchcases,themotionandtheflowfield
arethuscoupled,andwecallthiscoupled
motion

FLUENTprovidesthe6DOFModel
Thetrajectoryofanobjectiscomputedbased

ontheaerodynamicforces/moments,
gravitationalforce,andejectorforces
The6DOFUDFisfullyparallelized

Introduction
18

2011ANSYS,Inc.

NonConformalInterfaces
January19,2012

RotatingZones

DynamicMesh

Summary
Release14.0

MovingZones

Summary
Fivedifferentapproachesmaybeusedtomodelflowsovermovingparts

Single(Rotating)ReferenceFrameModel
MultipleReferenceFrameModel
MixingPlaneModel
SlidingMeshModel
DynamicMeshModel(ConsiderourAdvancedTrainings)

Thefirstthreemethodsareprimarilysteadystateapproacheswhilesliding
meshisinherentlyunsteady

Enablingthesemodelsinvolvesinpart,changingthestationaryfluidzonesto
eitherMovingReferenceFrameorMovingMesh

Mostphysicalmodelsarecompatiblewithmovingreferenceframesor
movingmeshes(e.g.multiphase,combustion,heattransfer,etc.)
Introduction
19

2011ANSYS,Inc.

NonConformalInterfaces
January19,2012

RotatingZones

DynamicMesh

Summary
Release14.0

Appendix

20

2011ANSYS,Inc.

January19,2012

Release14.0

MotioninSolidZones
Inmostsimulationsitisnotnecessarytospecifyanymotionin
solidzones

Solidzonemotionshouldbeusedwhentheconvectionofenergy
needstobeconsidered
Forexample,ahotjetimpingingonarotatingdisk.Topreventahotspotfrom
formingtheconvectionofenergyinthesolidneedstobeincluded

Inthiscasetheheattransferequationhasaconvectiveterm

21

2011ANSYS,Inc.

January19,2012

Release14.0

MotioninSolidZones
Insolidzones,theconservationoftheenergyequationcan
accountforheattransportduetomotionofthesolid,conduction
andvolumetricheatsources

h
( U S h ) ( T ) S E
t
Solid Velocity

Notethatthesolidisneverphysicallymovedwhenusingthis
approach,thereisonlyanadditionaladvectiontermaddedto
theenergyequation

22

2011ANSYS,Inc.

January19,2012

Release14.0

MotioninSolidZones
Solidzonemotioncanbeclassifiedq=0
intotwoareas:

TranslationalMotion

Tin = Tspec

q=0
q=0

Forexample,aprocesswherea
solidmovescontinuouslyinalinear
directionwhilecooling
Thesolidmustextendcompletely
throughthedomain

RotationalMotion
Forexample,abrakerotorwhichis
heatedbybrakepads

23

2011ANSYS,Inc.

January19,2012

Release14.0

MovingReferenceFrameModeling
Systemslikethesecanbesolvedbydividingthedomainintomultiplefluidzones
somezoneswillberotating,othersstationary
Stationary
zone
Interface

Rotating
zone

24

2011ANSYS,Inc.

January19,2012

Release14.0

NavierStokesEquations:RotatingReference
Frames
Equationscanbesolvedinabsoluteorrotating(relative)
referenceframe
RelativeVelocityFormulation
ObtainedbytransformingthestationaryframeNSequationstoarotating
referenceframe
Usestherelativevelocityasthedependentvariable
CanbeselectedundertheGeneraltabinProblemSetup

AbsoluteVelocityFormulation
Derivedfromtherelative
velocityformulation
Usestheabsolutevelocity
asthedependentvariable
DefaultformulationforrotatingzonesinFLUENT

Rotationalsourcetermsappear
inmomentumequations
z

25

2011ANSYS,Inc.

January19,2012

y
CFD domain

ro

rotating
frame

z
stationary
frame

R
x

axis of
rotation

Release14.0

TheVelocityTriangle
Therelationshipbetweentheabsoluteandrelativevelocitiesisgivenby

Inturbomachinery,thisrelationshipcanbeillustratedusingthelawsofvectoraddition.
ThisisknownastheVelocityTriangle

V Absolute Velocity

W Relative Velocity

V
26

2011ANSYS,Inc.

January19,2012

Release14.0

ComparisonofFormulations
Relative Velocity Formulation: x-momentum equation

wx
p
W wx vrx 2 W r
t
x
Coriolis acceleration

Centripetal acceleration

Absolute Velocity Formulation: x-momentum equation

v x
p
Wv x vx V
t
x
Coriolis + Centripetal accelerations

27

2011ANSYS,Inc.

January19,2012

Release14.0

IntroductiontotheMRFModel
Thedomainissubdividedintostationaryandrotatingfluidzones
Morethanonerotatingzoneispermitted
Zonescanrotateatdifferentspeeds

Governingequationsaresolvedineachfluidzone
SRFequationsusedinrotatingzones
Attheinterfacesbetweentherotatingandstationaryzones,appropriate
transformationsofthevelocityvectorandvelocitygradientsareperformedto
computefluxesofmass,momentum,energy,andotherscalars
Flowisassumedtobesteadyineachzone(clearlyanapproximation)

MRFignorestherelativemotionsofthezoneswithrespecttoeachother
Doesnotaccountforfluiddynamicinteractionbetweenstationaryandrotating
components
ForthisreasonMRFisoftenreferredtoasthefrozenrotorapproach

Ideally,theflowattheMRFinterfacesshouldberelativelyuniformormixed
out

28

2011ANSYS,Inc.

January19,2012

Release14.0

TheMixingPlaneModel(MPM)
TheMPMisatechniquewhichpermitssteadystatesolutionsformultistageaxial
andcentrifugalturbomachines whereupstreamanddownstreamperiodic
domainsdonotmatchattheconnection
Advantage:
MPMrequiresonlyasinglebladepassageperbladerowregardlessofthenumberofblades,because
ofcircumferentialaveragingnonuniformitiesintheflowatthemixingplaneinterface
MPMcanhandledifferentnumbersofbladesatbothsidesofmixingplane

Fan (9 blades)

Vane (12 blades)

Mixing plane interface


29

2011ANSYS,Inc.

January19,2012

Release14.0

MPMvs.MRF
MRFcanbeusedonlyifwehaveequalperiodic
anglesforeachrow

Formultistageturbomachinery problems
Thestageboundaryconditionsareoftenknown(e.g.inlettotal
pressureandtemperatureandstageoutletstaticpressure)but
nottheinterstageconditions
Bladecountswillgenerallynotbethesame fromonerowtothe
next

TheMPMrequiresonlyasinglebladepassageper
bladerowregardlessofthenumberofblades
Thisisaccomplishedbymixingout(averaging)the
circumferentialnonuniformitiesintheflowattheinterstage
(mixingplane)interface

30

2011ANSYS,Inc.

January19,2012

Release14.0

Axialvs.RadialMixingPlanes
SRFsolutionsareobtainedineachdomain,withthedomainslinkedbypassing
boundaryconditionsfromonezonetoanother

Theinlet/outletboundariesmustbeassignedBCtypesinoneofthefollowing
combinations:
Pressureoutlet/Pressureinlet
Pressureoutlet/Velocityinlet
Pressureoutlet/Massflowinlet

Axial machines
31

2011ANSYS,Inc.

January19,2012

Radial machines
Release14.0

MixingPlane SetUp
MixingPlaneModel
GUI:Define MixingPlanes

(r )
z

( z)
r

32

2011ANSYS,Inc.

1
p
1
p

(r, ) d

( z , ) d

January19,2012

MixingPlaneGeometrydetermines
methodofcircumferentialaveraging
ChooseRadialforaxialflowmachines
ChooseAxialforradialflowmachines
Release14.0

TheSlidingMeshModel(SMM)
Therelativemotionofstationaryandrotating
componentsinaturbomachinewillgiveriseto
unsteadyinteractions
Shock
interaction

Theseinteractionsaregenerallyclassifiedasfollows:

potential
interaction

Potentialinteractions
(pressurewaveinteractions)
Wakeinteractions
Shockinteractions
BothMRFandMPMneglectunsteadyinteraction
entirelyandthusarelimitedtoflowswhere
theseeffectsareweak

Stator

Rotor

wake interaction

Ifunsteadyinteractioncannotbeneglected,wecan
employtheSlidingMeshmodel(SMM)to
accountfortherelativemotionbetweenthe
stationaryandrotatingcomponents
33

2011ANSYS,Inc.

January19,2012

Release14.0

HowtheSlidingMeshModelWorks
LiketheMRFmodel,thedomainisdividedintomovingandstationaryzones,
separatedbynonconformalinterfaces
UnliketheMRFmodel,eachmovingzonesmeshwillbeupdatedasafunction
oftime,thusmakingthemathematicalprobleminherentlyunsteady.

moving mesh zone

cells at time t

cells at time t + t

AnotherdifferencewithMRFisthatthegoverningequationshaveanew
movingmeshform,andaresolvedinthestationaryreferenceframefor
absolutequantities

MovingreferenceframeformulationisNOTusedhere(i.e.noadditionalaccelerations

actingassourcestermsinthemomentumequations)
Equationsareaspecialcaseofthegeneralmoving/deformingmeshformulation

Assumesrigidmeshmotionandsliding,nonconformalinterfaces
34

2011ANSYS,Inc.

January19,2012

Release14.0

NSEquations:SlidingMesh

d
dV (V U ) 0

dt V
S

d
v x dV V U v x pi dS vx dS

dt V
S
S

v y dV V U v y pj dS vy dS

dt V
S
S


d

v z dV V U v z pk vz dS

dt V
S
S

(x momentum)

(y momentum)

(z momentum)


d
et V U

dt V
S

35

2011ANSYS,Inc.

(continuity)


p
et dS vx v x vy v y vz v z q dS (energy)

January19,2012

Release14.0

SMM Setup
Enabletheunsteadysolver
DefineslidingzonesasInterfaceBCtypes
Foreachinterfacezonepair,createanon
conformalinterface

EnablePeriodic optionifsliding/rotatingmotionis
periodic.
EnableCoupled forconjugateheattransfer

Formovingzones,selectMoving Mesh asMotion


Type inFluid BC panel

OtherBCsaresameasSRF,MRFmodels

36

2011ANSYS,Inc.

January19,2012

Release14.0

SolvingSMMProblems
ChooseappropriateTime Step Size andMax Iterations

per Time Step toensuregoodconvergencewitheach


timestep
Time Step Size shouldbenolargerthanthetimeittakesfora
movingcelltoadvancepastastationarypoint:

s
t
R

s = Average cell size


R = Translational speed

Advancethesolutionuntiltheflowbecomes
timeperiodic(pressures,velocities,etc.,
oscillatewitharepeatingtimevariation).
Usuallyrequiresseveralrevolutionsofthegrid.
Goodinitialconditionscanreducethetime
neededtoachievetimeperiodicity`

37

2011ANSYS,Inc.

January19,2012

Release14.0

Vous aimerez peut-être aussi