I have a question regarding axi symmetricproblems.
When i activate the "axisymmetric" coordinates in the sif file what else do i have to care of in my solver.
Thinking of simple diffusion for example.
Somehow i thought sll the information is enclosed in the integration points and elements but know i found the following section in the statcurrentsolver:
Code: Select all
!------------------------------------------------------------------------------
! Coordinatesystem dependent info
!------------------------------------------------------------------------------
stat = ElementInfo( Element, Nodes,ug,vg,wg, &
SqrtElementMetric,Basis,dBasisdx )
s = 1
IF ( CurrentCoordinateSystem() /= Cartesian ) THEN
x = SUM( Nodes % x(1:n)*Basis(1:n) )
y = SUM( Nodes % y(1:n)*Basis(1:n) )
z = SUM( Nodes % z(1:n)*Basis(1:n) )
s = 2*PI
END IF
CALL CoordinateSystemInfo( Metric,SqrtMetric,Symb,dSymb,x,y,z )
s = s * SqrtMetric * SqrtElementMetric * S_Integ(tg)
or does
Code: Select all
stat = ElementInfo( Element, Nodes, IP % U(t), IP % V(t), &
IP % W(t), detJ, Basis, dBasisdx )
s = IP % s(t) * DetJ
More generally is there anything i have to change in my solver if i would like to switch to an axis symmetric problem?
best regards
Franz