Nek5000
SEM for Incompressible NS
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | setlog () |
Subroutine to initialize logical flags. More... | |
subroutine | chknord (IFALGN, IFNORX, IFNORY, IFNORZ, IFC, IEL) |
Check direction of normal of an element face for alignment with the X, Y, or Z axis. More... | |
subroutine | chkaxcb () |
subroutine | chkcbc (CB, IEL, IFC, IFALGN) |
Check for illegal boundary conditions. More... | |
subroutine | bcmask |
Zero out masks corresponding to Dirichlet boundary points. More... | |
subroutine | bcdirvc (V1, V2, V3, mask1, mask2, mask3) |
Apply Dirichlet boundary conditions to surface of vector (V1,V2,V3). Use IFIELD as a guide to which boundary conditions are to be applied. More... | |
subroutine | bcdirsc (S) |
Apply Dirichlet boundary conditions to surface of scalar, S. Use IFIELD as a guide to which boundary conditions are to be applied. More... | |
subroutine | bcneusc (S, ITYPE) |
Apply Neumann boundary conditions to surface of scalar, S. Use IFIELD as a guide to which boundary conditions are to be applied. If ITYPE = 1, then S is returned as the rhs contribution to the volumetric flux. If ITYPE =-1, then S is returned as the lhs contribution to the diagonal of A. More... | |
subroutine | nekasgn (IX, IY, IZ, IEL) |
Assign NEKTON variables for definition (by user) of boundary conditions at collocation point (IX,IY,IZ) of element IEL. X X-coordinate Y Y-coordinate Z Z-coordinate UX X-velocity UY Y-velocity UZ Z-velocity TEMP Temperature PS1 Passive scalar No. 1 PS2 Passive scalar No. 2 . . . . PS9 Passive scalar No. 9 SI2 Strainrate invariant II SI3 Strainrate invariant III Variables to be defined by user for imposition of boundary conditions : SH1 Shear component No. 1 SH2 Shear component No. 2 TRX X-traction TRY Y-traction TRZ Z-traction SIGMA Surface-tension coefficient FLUX Flux HC Convection heat transfer coefficient HRAD Radiation heat transfer coefficient TINF Temperature at infinity. More... | |
subroutine | lfalse (IFA, N) |
subroutine | unitvec (X, Y, Z, N) |
subroutine bcdirsc | ( | real(dp), dimension(lx1,ly1,lz1,lelt) | S | ) |
Apply Dirichlet boundary conditions to surface of scalar, S. Use IFIELD as a guide to which boundary conditions are to be applied.
Definition at line 748 of file bdry.F90.
References ctimer::dnekclock(), dsop(), and facev().
Referenced by cdscal().
subroutine bcdirvc | ( | real(dp), dimension(nx1,ny1,nz1,lelv) | V1, |
real(dp), dimension(nx1,ny1,nz1,lelv) | V2, | ||
real(dp), dimension(nx1,ny1,nz1,lelv) | V3, | ||
real(dp), dimension(nx1,ny1,nz1,lelv) | mask1, | ||
real(dp), dimension(nx1,ny1,nz1,lelv) | mask2, | ||
real(dp), dimension(nx1,ny1,nz1,lelv) | mask3 | ||
) |
Apply Dirichlet boundary conditions to surface of vector (V1,V2,V3). Use IFIELD as a guide to which boundary conditions are to be applied.
Definition at line 588 of file bdry.F90.
References copy(), ctimer::dnekclock(), facev(), and opdsop().
Referenced by plan4(), and setdtc().
subroutine bcmask | ( | ) |
Apply Neumann boundary conditions to surface of scalar, S. Use IFIELD as a guide to which boundary conditions are to be applied. If ITYPE = 1, then S is returned as the rhs contribution to the volumetric flux. If ITYPE =-1, then S is returned as the lhs contribution to the diagonal of A.
Definition at line 840 of file bdry.F90.
References ctimer::dnekclock(), facind(), parallel::lglel(), and nekasgn().
Referenced by cdscal(), and wlaplacian().
subroutine chkaxcb | ( | ) |
Definition at line 247 of file bdry.F90.
References exitt().
Referenced by setup_topo().
subroutine chkcbc | ( | character(3) | CB, |
integer | IEL, | ||
integer | IFC, | ||
logical | IFALGN | ||
) |
subroutine chknord | ( | logical | IFALGN, |
logical | IFNORX, | ||
logical | IFNORY, | ||
logical | IFNORZ, | ||
integer | IFC, | ||
integer | IEL | ||
) |
subroutine lfalse | ( | logical, dimension(*) | IFA, |
integer | N | ||
) |
subroutine nekasgn | ( | integer, intent(in) | IX, |
integer, intent(in) | IY, | ||
integer, intent(in) | IZ, | ||
integer, intent(in) | IEL | ||
) |
Assign NEKTON variables for definition (by user) of boundary conditions at collocation point (IX,IY,IZ) of element IEL. X X-coordinate Y Y-coordinate Z Z-coordinate UX X-velocity UY Y-velocity UZ Z-velocity TEMP Temperature PS1 Passive scalar No. 1 PS2 Passive scalar No. 2 . . . . PS9 Passive scalar No. 9 SI2 Strainrate invariant II SI3 Strainrate invariant III Variables to be defined by user for imposition of boundary conditions : SH1 Shear component No. 1 SH2 Shear component No. 2 TRX X-traction TRY Y-traction TRZ Z-traction SIGMA Surface-tension coefficient FLUX Flux HC Convection heat transfer coefficient HRAD Radiation heat transfer coefficient TINF Temperature at infinity.
Definition at line 1014 of file bdry.F90.
Referenced by bcneusc(), nekuf(), nekuic(), and nekuq().
subroutine setlog | ( | ) |