functions that assign properties of objects to HIL variables More...
Functions | |
| void | element (Namespace &, Element &elem) |
| void | position (Namespace &, Element &, const Basis &, int i_qpoint) |
Assigns the variables pos0, pos1, pos2 | |
| void | state (Namespace &, Element &, int i_qpoint) |
| void | surface (Namespace &, Boundary_connection &, int i_fqpoint) |
functions that assign properties of objects to HIL variables
Assigns the follwing variables:
is_extruded: 1 if element is extruded, else 0n_dim: number of dimensionsis_def = elem.get_is_deformed()ref_level = elem.refinement_level()aniso_ref_level = elem.aniso_ref_level()mask = elem.mask()nom_sz = elem.nominal_size() -uncertainty= elem.uncertaintycenter0, center1, center2: center of mass of vertices (not necessarily of the element itself) | void hexed::hil_properties::position | ( | Namespace & | space, |
| Element & | elem, | ||
| const Basis & | basis, | ||
| int | i_qpoint ) |
Assigns the variables pos0, pos1, pos2
to the position of the i_qpointth quadrature point. Trailing dimensions are set to 0.
Assigns the follwing variables:
momentum0, momentum1, momentum2 : momentum per volumemass: mass per volume (aka density)energy: total energy per volumetss: time step scaleart_visc: artificial viscosity coefficientresidual_xxx for xxx in {momentum0, ..., energy}: residual of each of the conserved state variables Solver::update or Solver::update_art_visc_smoothness have been called since the last call to Solver::compute_residuals then the residual variables will be incorrect. | void hexed::hil_properties::surface | ( | Namespace & | space, |
| Boundary_connection & | con, | ||
| int | i_fqpoint ) |
Assigns the follwing variables:
pos0, pos, pos2: positionnormal0, normal1, normal2: unit surface normal (out of surface, into domain)momentum0, momentum1, momentum2 : momentum per volumemass: mass per volume (aka density)energy: total energy per volumevisc_stress0, visc_stress1, visc_stress2 : viscous stress at surfacemass_flux: diffusive mass flux through surfaceheat_flux: surface heat flux