Q.. Where can I find a 2D FSI example that uses the Multifield Solver?

A. Use the input file listed below.

/batch
!!!!!!!!! Fluid Structures problem set up. Flow over a wall.
!! SI units are used Free stream velocity is 56m/sec
!! (about 125 mph). The wall is 4 meters high and
!! .25 meters thick.
!!
!! This file sets up and performs the Multifield analysis for
!! ANSYS8.0. Multiple Staggers
!!
!! Property/Multified modification of "fsi8.inp".
!!
!! Field 1 is the Fluid analysis
!! Field 2 is the structural analysis
!!
!! Create geometry
/prep7
et,1,141,,,,1
et,2,42
mp,ex,2,1.39E+8
mp,nuxy,2,.3
x0=0
hw=4
xw=4
ht=.125
xt=.25
dx=.25
d1=4
d2=4
y1=4
yh=.2
y2=8
y3=80
k,1,-ht,0
k,2,ht,0
k,3,-ht,hw
k,4,ht,hw
x6=ht+dx
k,6,x6,0
k,5,x6,y1
k,7,-x6,0
k,8,-x6,y1
k,13,0,hw+ht
k,14,0,hw+ht+yh
x9=x6+d1
k,9,x9,0
k,11,x9,y1
k,10,-x9,0
k,12,-x9,y1
x17=x9+d2
k,17,x17,0
k,15,x17,y2
k,18,-x17,0
k,16,-x17,y2
k,19,-x6-xw/3.,y2
k,20,x6+xw/3.,y2
xe=80
xs=-30
k,21,xs,0
k,22,xs,y2
k,23,xs,y3
k,24,-x17-xw/2,y3
k,25,-xw,y3
k,26,xw,y3
k,27,x17+xw/2,y3
k,30,xe,y3
k,29,xe,y2
k,28,xe,0
k,31,0,y2
k,32,0,y3
l,1,7
l,3,8
l,13,14
l,4,5
l,2,6
l,7,10
l,6,9
l,8,12
l,5,11
l,10,12
l,9,11
l,18,16
l,17,15
l,10,18
l,9,17
l,12,16
l,8,19
l,14,31
l,5,20
l,11,15
l,19,16
l,20,15
l,1,3
l,2,4
l,7,8
l,6,5
l,1,2
l,3,4
larc,13,3,4,ht
larc,14,8,4,4*ht
l,31,19
l,32,25
larc,13,4,3,ht
larc,14,5,3,4*ht
l,31,20
l,32,26
l,25,24
l,24,23
l,16,22
l,18,21
l,17,28
l,15,29
l,27,30
l,26,27
l,21,22
l,28,29
l,22,23
l,16,24
l,19,25
l,31,32
l,20,26
l,15,27
l,29,30
mx1=3
mx2=5
mx3=6
rx3=6
mx4=15
rx4=2
rxm4=1.5
mx5=10
rx5=2
mx6=30
rx6=3
mx7=12
rx7=-2
my1=12
ry1=-3
rym1=3
my2=40
ry2=3
lsel,s,,,29,36
lesize,all,,,mx2
lsel,s,,,1,5
lesize,all,,,mx3,rx3
lsel,s,,,6,9
lesize,all,,,mx4,rx4
lsel,s,,,21,22
lesize,all,,,mx4,rxm4
lsel,s,,,37,44,7
lesize,all,,,mx4
lsel,s,,,14,20
lesize,all,,,mx5,rx5
lsel,s,,,41,43
lesize,all,,,mx6,rx6
lsel,s,,,38,40
lesize,all,,,mx7,rx7
lsel,s,,,23,26
lesize,all,,,my1,ry1


Q.. Where can I find a 2D FSI example that uses the Multifield Solver?

A. Use the input file listed below.

/batch
!!!!!!!!! Fluid Structures problem set up. Flow over a wall.
!! SI units are used Free stream velocity is 56m/sec
!! (about 125 mph). The wall is 4 meters high and
!! .25 meters thick.
!!
!! This file sets up and performs the Multifield analysis for
!! ANSYS8.0. Multiple Staggers
!!
!! Property/Multified modification of "fsi8.inp".
!!
!! Field 1 is the Fluid analysis
!! Field 2 is the structural analysis
!!
!! Create geometry
/prep7
et,1,141,,,,1
et,2,42
mp,ex,2,1.39E+8
mp,nuxy,2,.3
x0=0
hw=4
xw=4
ht=.125
xt=.25
dx=.25
d1=4
d2=4
y1=4
yh=.2
y2=8
y3=80
k,1,-ht,0
k,2,ht,0
k,3,-ht,hw
k,4,ht,hw
x6=ht+dx
k,6,x6,0
k,5,x6,y1
k,7,-x6,0
k,8,-x6,y1
k,13,0,hw+ht
k,14,0,hw+ht+yh
x9=x6+d1
k,9,x9,0
k,11,x9,y1
k,10,-x9,0
k,12,-x9,y1
x17=x9+d2
k,17,x17,0
k,15,x17,y2
k,18,-x17,0
k,16,-x17,y2
k,19,-x6-xw/3.,y2
k,20,x6+xw/3.,y2
xe=80
xs=-30
k,21,xs,0
k,22,xs,y2
k,23,xs,y3
k,24,-x17-xw/2,y3
k,25,-xw,y3
k,26,xw,y3
k,27,x17+xw/2,y3
k,30,xe,y3
k,29,xe,y2
k,28,xe,0
k,31,0,y2
k,32,0,y3
l,1,7
l,3,8
l,13,14
l,4,5
l,2,6
l,7,10
l,6,9
l,8,12
l,5,11
l,10,12
l,9,11
l,18,16
l,17,15
l,10,18
l,9,17
l,12,16
l,8,19
l,14,31
l,5,20
l,11,15
l,19,16
l,20,15
l,1,3
l,2,4
l,7,8
l,6,5
l,1,2
l,3,4
larc,13,3,4,ht
larc,14,8,4,4*ht
l,31,19
l,32,25
larc,13,4,3,ht
larc,14,5,3,4*ht
l,31,20
l,32,26
l,25,24
l,24,23
l,16,22
l,18,21
l,17,28
l,15,29
l,27,30
l,26,27
l,21,22
l,28,29
l,22,23
l,16,24
l,19,25
l,31,32
l,20,26
l,15,27
l,29,30
mx1=3
mx2=5
mx3=6
rx3=6
mx4=15
rx4=2
rxm4=1.5
mx5=10
rx5=2
mx6=30
rx6=3
mx7=12
rx7=-2
my1=12
ry1=-3
rym1=3
my2=40
ry2=3
lsel,s,,,29,36
lesize,all,,,mx2
lsel,s,,,1,5
lesize,all,,,mx3,rx3
lsel,s,,,6,9
lesize,all,,,mx4,rx4
lsel,s,,,21,22
lesize,all,,,mx4,rxm4
lsel,s,,,37,44,7
lesize,all,,,mx4
lsel,s,,,14,20
lesize,all,,,mx5,rx5
lsel,s,,,41,43
lesize,all,,,mx6,rx6
lsel,s,,,38,40
lesize,all,,,mx7,rx7
lsel,s,,,23,26
lesize,all,,,my1,ry1
lsel,s,,,10,13
lsel,a,,,45,46
lesize,all,,,my1,rym1
lsel,s,,,47,53
lesize,all,,,my2,ry2
lsel,s,,,27,28
lesize,all,,,mx1
lsel,all
a,18,10,12,16
a,10,7,8,12
a,12,8,19,16
a,8,14,31,19
a,14,5,20,31
a,5,11,15,20
a,6,9,11,5
a,9,17,15,11
a,7,1,3,8
a,3,13,14,8
a,13,4,5,14
a,2,6,5,4
a,21,18,16,22
a,22,16,24,23
a,16,19,25,24
a,19,31,32,25
a,31,20,26,32
a,20,15,27,26
a,15,29,30,27
a,17,28,29,15
aatt,1,1,1
mshkey,2
amesh,all
!!
!!!!!!!!!!!! Structural model
!!
numstr,line,100
numstr,area,100
lsel,s,,,23,24
lsel,a,,,27,29
lsel,a,,,33
lgen,2,all,,,0,0,0,,1
al,100,102,101,103
al,103,105,104
lesize,104,,,3,1
lesize,105,,,3,1
lesize,100,,,25,1
lesize,101,,,25,1
asel,s,,,100,101
aatt,2,2,2
amesh,all
alls
save,flus1,db ! Contains only geometry and mesh
!!!
!!!!! Fluid Boundary Conditions
!! Inlet
lsel,s,,,32
lsel,a,,,36,38
lsel,a,,,43,47
lsel,u,,,46
nsll,,1
d,all,vx,56
d,all,vy,0
!! Walls
lsel,s,,,1
lsel,a,,,5,7
lsel,a,,,14,15
lsel,a,,,40,41
lsel,a,,,23,24
lsel,a,,,29,33,4
nsll,,1
d,all,vx,0
d,all,vy,0
!! Outlet
lsel,s,,,46,53,7
nsll,,1
d,all,pres,0.
alls
!!!!! Displacement conditions on fluid boundary
asel,s,,,13,20
nsla,,1
d,all,ux,0
d,all,uy,0
lsel,s,,,1
lsel,a,,,5,7
lsel,a,,,14,15
nsll,,1
d,all,ux,0
d,all,uy,0
!! Structural Constraints
lsel,s,,,102
nsll,,1
d,all,ux,0
d,all,uy,0
save,flus2,db ! Contains Geometry, mesh, & BC (No fsi)
fini
/SOLU
!!
!! Multifield Boundary Conditions
!! Single boundary : the wall
lsel,s,,,23,24
lsel,a,,,29,33,4
nsll,,1
sf,all,fsin,1
lsel,s,,,100,101
lsel,a,,,104,105
nsll,,1
sf,all,fsin,1
alls

!!
!!!!!!!!!!!! FLOTRAN controls
!!
flda,solu,ale,t
flda,iter,exec,300
flda,outp,sumf,50
flda,solu,turb,t
flda,prot,dens,air-si
flda,prot,visc,air-si
flda,prot,cond,air-si
flda,prot,spht,air-si
flda,mir,mome,.5
flda,mir,turb,.5
!
mfcmmand,1,fluid,cmd ! Command
!!
!!!!!!!!!!!! Structural controls
antyp,static
solcontrol,off
nlgeom,on
eqslv,sparse
mfcmmand,2,structure,cmd ! Command
!!

!!! MF boundary 1: field 1 sends forces to field 2
mfsurface,1,1,forc,2
!!! MF boundary 1 : field 2 sends displacements to field 1
mfsurface,1,2,disp,1
!!
!!! Multifield Controls
!!! Turn multifield analysis on
mfan,on
!!
!!! Define fields by element types
mfelem,1,1 ! Field 1 is fluid
mffname,1,fluid
mfelem,2,2 ! Field 2 is solid
mffname,2,structure
!!
!!! Specify calculation frequencies
mfcalc,1,1
mfcalc,2,1

!!
!!! Time increment
mfdtime,1.0
!! End time
mftime,1.0
!!
!!! Analysis order
mforder,1,2 ! Field 1 first

!!! Type of load transfer
mfinter,nonc
!!
!!! Stagger iterations
mfiter,10
!!
!!! Relaxation
mfrelax,forc,1.0
mfrelax,disp,1.0
!!
!! Convergence
mfconv,fx,1.E-3
mfconv,ux,1.E-3
!!
!! Output frequency
mfoutput,1
save,flus3,db
solve





Show Form
No comments yet. Be the first to add a comment!