Modal Analysis of a Cavity (Command Method)


www.kxcad.net Home > CAE Index > ANSYS Index > Release 11.0 Documentation for ANSYS


Your Ad Here

Problem Description

This example describes how to do a modal high-frequency analysis of a cavity using ANSYS commands. You can also perform the analysis through the ANSYS GUI menus, using the procedures described in the next example.

This example analysis calculates the TE101 mode eigenfrequency and quality factor in a Teflon filled cavity with copper walls. The example assumes that the dielectric and surface losses are small and do not affect the eigenfrequency solution.

Material Properties Used

μr = 1.0

εr = 2.05

ρ = 1.0361x105

Figure 1  Teflon Filled Cavity

Geometric Properties Used

d = 1.0 m, w = 0.4 m, h = 0.3 m

Shielding Surface Properties Used

τ = .58x108 S/m

μr = 1.0

Commands This Example Uses

Below is the command input stream used to perform this analysis. All text preceded by an exclamation point (!) is a comment.

/batch,list
/prep7
/show
/title, Eigenvalue analysis of a dielectric-filled cavity
/com, Calculate the TE101 mode eigenfrequency and Quality
/com, factor in a Teflon-filled cavity with copper walls
/com,
_length=1.0
_width=0.4
_height=0.3
epsr=2.05
rvsigma=1.0361e5
cond=0.58e8
et,1,hf120,2                           ! HF solid brick element, 2nd order
mp,murx,1,1.                           ! Relative permeability - teflon
mp,perx,1,epsr                         ! Relative permittivity - teflon
mp,rsvx,1,rvsigma                      ! Resistivity - teflon
_h=0.08
block,0,_length,0,_width,0,_height     ! Create cavity
/view,1,1,1,1
/replot
esize,_h
mshape,0,3d                            ! Hex elements
mshkey,1                               ! Mapped mesh
vmesh,1                                ! Mesh volume
da,all,ax,0                            ! Set electric wall boundary cond. (tangential E=0)
sfa,all,,shld,cond,1.0                 ! specify surface shielding properties
finish
/solu
antype,modal                           ! Modal analysis
modopt,lanb,1,2.2e8,4.0e8,,on          ! Block Lanczos solver (the default)
mxpand,,,,yes                          ! Expand mode
solve
finish
/post1
set,last
/view,,.75,.5,.6
/vup,1,z
plvect,h,,,,vect,node,on               ! display H field
plvect,ef,,,,vect,node,on              ! display E field
qfact
finish
Your Ad Here