Neko
0.8.1
A portable framework for high-order spectral element flow simulations
|
Functions/Subroutines | |
subroutine, public | drag_torque_zone (dgtq, tstep, zone, center, s11, s22, s33, s12, s13, s23, p, coef, visc) |
Some functions to calculate the lift/drag and torque Calculation can be done on a zone, a facet, or a point Currently everything is CPU only. More... | |
subroutine, public | drag_torque_facet (dgtq, xm0, ym0, zm0, center, s11, s22, s33, s12, s13, s23, pm1, visc, f, e, coef, Xh) |
Calculate drag and torque over a facet. More... | |
subroutine, public | drag_torque_pt (dgtq, x, y, z, center, s11, s22, s33, s12, s13, s23, p, n1, n2, n3, v) |
Calculate drag and torque from one point. More... | |
subroutine, public drag_torque::drag_torque_facet | ( | real(kind=rp), dimension(3,4), intent(out) | dgtq, |
real(kind=rp), dimension (xh%lx,xh%ly,xh%lz,coef%msh%nelv), intent(in) | xm0, | ||
real(kind=rp), dimension (xh%lx,xh%ly,xh%lz,coef%msh%nelv), intent(in) | ym0, | ||
real(kind=rp), dimension (xh%lx,xh%ly,xh%lz,coef%msh%nelv), intent(in) | zm0, | ||
real(kind=rp), dimension(3), intent(in) | center, | ||
real(kind=rp), dimension (xh%lx,xh%ly,xh%lz,coef%msh%nelv), intent(in) | s11, | ||
real(kind=rp), dimension (xh%lx,xh%ly,xh%lz,coef%msh%nelv), intent(in) | s22, | ||
real(kind=rp), dimension (xh%lx,xh%ly,xh%lz,coef%msh%nelv), intent(in) | s33, | ||
real(kind=rp), dimension (xh%lx,xh%ly,xh%lz,coef%msh%nelv), intent(in) | s12, | ||
real(kind=rp), dimension (xh%lx,xh%ly,xh%lz,coef%msh%nelv), intent(in) | s13, | ||
real(kind=rp), dimension (xh%lx,xh%ly,xh%lz,coef%msh%nelv), intent(in) | s23, | ||
real(kind=rp), dimension (xh%lx,xh%ly,xh%lz,coef%msh%nelv), intent(in) | pm1, | ||
real(kind=rp), intent(in) | visc, | ||
integer, intent(in) | f, | ||
integer, intent(in) | e, | ||
type(coef_t), intent(in) | coef, | ||
type(space_t), intent(in) | Xh | ||
) |
Calculate drag and torque over a facet.
dgtq,the | computed drag and torque |
tstep,the | time step |
xm0,the | x coords |
ym0,the | y coords |
zm0,the | z coords |
center,the | point around which we calculate the torque |
s11-s23,the | strain rate tensor |
p,the | pressure |
coef,coefficents | |
visc,the | viscosity |
Definition at line 212 of file drag_torque.f90.
subroutine, public drag_torque::drag_torque_pt | ( | real(kind=rp), dimension(3,4), intent(inout) | dgtq, |
real(kind=rp), intent(in) | x, | ||
real(kind=rp), intent(in) | y, | ||
real(kind=rp), intent(in) | z, | ||
real(kind=rp), dimension(3), intent(in) | center, | ||
real(kind=rp), intent(in) | s11, | ||
real(kind=rp), intent(in) | s22, | ||
real(kind=rp), intent(in) | s33, | ||
real(kind=rp), intent(in) | s12, | ||
real(kind=rp), intent(in) | s13, | ||
real(kind=rp), intent(in) | s23, | ||
real(kind=rp), intent(in) | p, | ||
real(kind=rp), intent(in) | n1, | ||
real(kind=rp), intent(in) | n2, | ||
real(kind=rp), intent(in) | n3, | ||
real(kind=rp), intent(in) | v | ||
) |
Calculate drag and torque from one point.
dgtq,the | computed drag and torque |
xm0,the | x coord |
ym0,the | y coord |
zm0,the | z coord |
center,the | point around which we calculate the torque |
s11-s23,the | strain rate tensor |
p,the | pressure |
n1,normal | vector x |
n2,normal | vector y |
n3,normal | vector z |
v,the | viscosity |
Definition at line 331 of file drag_torque.f90.
subroutine, public drag_torque::drag_torque_zone | ( | real(kind=rp), dimension(3,4) | dgtq, |
integer, intent(in) | tstep, | ||
type(facet_zone_t) | zone, | ||
real(kind=rp), dimension(3), intent(in) | center, | ||
real(kind=rp), dimension(coef%xh%lx,coef%xh%lx,coef%xh%lz,coef%msh%nelv), intent(inout) | s11, | ||
real(kind=rp), dimension(coef%xh%lx,coef%xh%lx,coef%xh%lz,coef%msh%nelv), intent(inout) | s22, | ||
real(kind=rp), dimension(coef%xh%lx,coef%xh%lx,coef%xh%lz,coef%msh%nelv), intent(inout) | s33, | ||
real(kind=rp), dimension(coef%xh%lx,coef%xh%lx,coef%xh%lz,coef%msh%nelv), intent(inout) | s12, | ||
real(kind=rp), dimension(coef%xh%lx,coef%xh%lx,coef%xh%lz,coef%msh%nelv), intent(inout) | s13, | ||
real(kind=rp), dimension(coef%xh%lx,coef%xh%lx,coef%xh%lz,coef%msh%nelv), intent(inout) | s23, | ||
type(field_t), intent(inout) | p, | ||
type(coef_t), intent(inout) | coef, | ||
real(kind=rp), intent(in) | visc | ||
) |
Some functions to calculate the lift/drag and torque Calculation can be done on a zone, a facet, or a point Currently everything is CPU only.
Calculate drag and torque over a zone.
dgtq,the | computed drag and torque |
tstep,the | time step |
zone,the | zone which we compute the drag and toqure over |
center,the | point around which we calculate the torque |
s11-s23,the | strain rate tensor |
p,the | pressure |
coef,coefficents | |
visc,the | viscosity |
Definition at line 88 of file drag_torque.f90.