| Procedure | Location | Procedure Type | Description |
|---|---|---|---|
| access_bcFricVel_forElement | mus_bc_var_module | Subroutine | This routine returns friction velocity computed in turbulent_wall bc and stored in mus_turb_wallFunc_data_type routine. |
| access_bcNormal_forElement | mus_bc_var_module | Subroutine | This routine returns the boundary normal pointing inside the domain |
| access_bcNormDistToBnd_forElement | mus_bc_var_module | Subroutine | This routine returns normal distance to boundary calculated in mus_init_turbWallFunc and stored in mus_turb_wallFunc_data_type routine. |
| access_bcTurbVisc_forElement | mus_bc_var_module | Subroutine | This routine returns turbulent viscosity computed in turbulent_wall bc according to RANS formulation and stored in mus_turb_wallFunc_data_type routine. |
| access_bcYPlus_forElement | mus_bc_var_module | Subroutine | This routine returns yPlus = distToBnd * fric_vel / visc |
| access_kineOmega_forElement | mus_material_var_module | Subroutine | This routine returns the omega |
| access_kineVisc_forElement | mus_material_var_module | Subroutine | This routine returns the kinematic viscosity |
| access_pressRef_forElement | mus_material_var_module | Subroutine | This routine returns the reference pressure |
| access_qVal_forElement | mus_bc_var_module | Subroutine | This routine returns the boundary qValues |
| access_turbVisc_forElement | mus_turbulence_var_module | Subroutine | This routine returns the turbulent viscosity |
| add_Momentum_Increment_to_Auxfield | mus_particle_DPS_module | Subroutine | Add a momentum increment to element with PosInTotal in total list |
| addCollisionForceToBuffer | mus_particle_comm_module | Subroutine | addCollisionForceToBuffer adds DEM collision force Fcoll to the force buffer sent to particle with id particleID on rank recvRankIndex. |
| addForceToAuxFieldCell | mus_particle_DPS_module | Subroutine | ModifyAuxFieldCell is a helper routine that modifies the auxfield in the cell with position elemPos in the total list. It takes the total force F_particle and the vector r_lat (in lattice units) pointing from the particle location to the barycenter of the fluid element, then computes the weight and modifies the auxField. Performing addForceToAuxFieldCell over every neighboring cell around a particle (including the one the particle is on) distributes the entire force. |
| addParticleSourceToAuxfield_DPS | mus_particle_DPS_module | Subroutine | Routine to modify the auxField (velocity) with the forces exerted by particles on the fluid |
| advance_particles_DPS | mus_control_module | Subroutine | |
| advance_particles_MEM | mus_control_module | Subroutine | |
| allocate_momBuf | mus_pdf_module | Subroutine | |
| allocateBCList | mus_construction_module | Subroutine | Allocate BC lists, 2nd step in Build_BClists |
| allocateProcessMasks | mus_particle_DPS_type_module | Interface | |
| allocateProcessMasks | mus_particle_MEM_type_module | Interface | |
| allocateProcessMasks_DPS | mus_particle_DPS_type_module | Subroutine | |
| allocateProcessMasks_MEM | mus_particle_MEM_type_module | Subroutine | Routine for allocating the existsOnProc, addToProc and removeFromProc masks used to determine when particles should be sent over to new processes or which processes need to receive position, velocity updates etc. |
| append_da_particle_dps | mus_particle_DPS_type_module | Subroutine | |
| append_da_particle_mem | mus_particle_MEM_type_module | Subroutine | |
| applyDragForce_DPS | mus_particle_DPS_module | Subroutine | Routine to calculate the drag force according to [1] S. Tenneti, R. Garg, and S. Subramaniam, “Drag law for monodisperse gas–solid systems using particle-resolved direct numerical simulation of flow past fixed assemblies of spheres,” International Journal of Multiphase Flow, vol. 37, no. 9, pp. 1072–1092, Nov. 2011, doi: 10.1016/j.ijmultiphaseflow.2011.05.010. |
| applyDragForce_DPS_noeps | mus_particle_DPS_module | Subroutine | |
| applyHydrodynamicForces | mus_particle_MEM_module | Subroutine | ApplyHydrodynamicForces performs the momentum transfer from fluid TO particle |
| applyLiftForce_DPS | mus_particle_DPS_module | Subroutine | applyLiftForce_DPS computes the Saffman lift force on a particle according to the paper : Saffman PG. The lift on a small sphere in a slow shear flow. J Fluid Mech 1965;22(2):385–400. doi:10.1017/S0 022112065000824. |
| applyPressureForce_DPS | mus_particle_DPS_module | Subroutine | Calculate the pressure gradient force on a particle |
| applySrc_absorbLayer | mus_derQuan_module | Subroutine | Update state with source variable "absorb_layer". absorb_layer is used to absorb the flow and gradually reduce the flow quantities like pressure and velocity to a fixed value. It is based on: Xu, H., & Sagaut, P. (2013). Analysis of the absorbing layers for the weakly-compressible lattice Boltzmann methods. Journal of Computational Physics, 245(x), 14–42. Jacob, J.; Sagaut, P. (2019): Solid wall and open boundary conditions in hybrid recursive regularized lattice Boltzmann method for compressible flows. In Physics of Fluids 31 (12), p. 126103. |
| applySrc_absorbLayer_MRT | mus_derQuan_module | Subroutine | Update state with source variable "absorb_layer". absorb_layer is used to absorb the flow and gradually reduce the flow quantities like pressure and velocity to a fixed value. It is based on: Xu, H., & Sagaut, P. (2013). Analysis of the absorbing layers for the weakly-compressible lattice Boltzmann methods. Journal of Computational Physics, 245(x), 14–42. Jacob, J.; Sagaut, P. (2019): Solid wall and open boundary conditions in hybrid recursive regularized lattice Boltzmann method for compressible flows. In Physics of Fluids 31 (12), p. 126103. |
| applySrc_absorbLayerDyn | mus_derQuan_module | Subroutine | Update state with source variable "absorb_layer". absorb_layer is used to absorb the flow and gradually reduce the flow quantities like pressure and velocity to a fixed value. It is based on: Xu, H., & Sagaut, P. (2013). Analysis of the absorbing layers for the weakly-compressible lattice Boltzmann methods. Journal of Computational Physics, 245(x), 14–42. Jacob, J.; Sagaut, P. (2019): Solid wall and open boundary conditions in hybrid recursive regularized lattice Boltzmann method for compressible flows. In Physics of Fluids 31 (12), p. 126103. |
| applySrc_absorbLayerDyn_MRT | mus_derQuan_module | Subroutine | Update state with source variable "absorb_layer". absorb_layer is used to absorb the flow and gradually reduce the flow quantities like pressure and velocity to a fixed value. It is based on: Xu, H., & Sagaut, P. (2013). Analysis of the absorbing layers for the weakly-compressible lattice Boltzmann methods. Journal of Computational Physics, 245(x), 14–42. Jacob, J.; Sagaut, P. (2019): Solid wall and open boundary conditions in hybrid recursive regularized lattice Boltzmann method for compressible flows. In Physics of Fluids 31 (12), p. 126103. |
| applySrc_absorbLayerIncomp | mus_derQuanIncomp_module | Subroutine | Update state with source variable "absorb_layer". absorb_layer is used to absorb the flow and gradually reduce the flow quantities like pressure and velocity to a fixed value for incompressible model. It is based on: Xu, H., & Sagaut, P. (2013). Analysis of the absorbing layers for the weakly-compressible lattice Boltzmann methods. Journal of Computational Physics, 245(x), 14–42. |
| applySrc_brinkmanForce | mus_derQuan_module | Subroutine | Update state with source variable Brinkman force obtained from Brinkman coefficient. |
| applySrc_brinkmanForce_TRT | mus_derQuan_module | Subroutine | Update state with source variable Brinkman force obtained from Brinkman coefficient. The force update is for TRT collision model. |
| applySrc_chargeDensity_1stOrd | mus_derQuanPoisson_module | Subroutine | Update state with source variable "ChargeDensity" with 1st order integration of source Term. Refer to Appendix in PhD Thesis of K. Masilamani "Coupled Simulation Framework to Simulate Electrodialysis Process for Seawater Desalination" |
| applySrc_chargeDensity_2ndOrd | mus_derQuanPoisson_module | Subroutine | Update state with source variable "ChargeDensity" with 2nd order integration of source Term. Refer to Appendix in PhD Thesis of K. Masilamani "Coupled Simulation Framework to Simulate Electrodialysis Process for |
| applySrc_electricFieldNP | mus_derQuanNernstPlanck_module | Subroutine | Update state with source variable "electric field" |
| applySrc_electricMSLiquid_1stOrd | mus_derQuanMSLiquid_module | Subroutine | Update state with source variable "electric_field" Simuilar to derive routine but it updates the state whereas derive is used for tracking |
| applySrc_electricMSLiquid_1stOrd_WTDF | mus_derQuanMSLiquid_module | Subroutine | Update state with source variable "electric_field" with thermodynamic factor. Simuilar to derive routine but it updates the state whereas derive is used for tracking |
| applySrc_electricMSLiquid_2ndOrd | mus_derQuanMSLiquid_module | Subroutine | Update state with source variable "electric_field" with 2nd order force integration. Refer to Appendix in PhD Thesis of K. Masilamani "Coupled Simulation Framework to Simulate Electrodialysis Process for Seawater Desalination" |
| applySrc_electricMSLiquid_2ndOrd_WTDF | mus_derQuanMSLiquid_module | Subroutine | Update state with source variable "electric_field" with 2nd order integration of force term in LBE with thermodynamic factor Refer to Appendix in PhD Thesis of K. Masilamani "Coupled Simulation Framework to Simulate Electrodialysis Process for Seawater Desalination" |
| applySrc_equalInjectionPS | mus_derQuanPS_module | Subroutine | Update state with source variable "equalInjection" Simuilar to derive routine but it updates the state whereas derive is used for tracking |
| applySrc_force | mus_derQuan_module | Subroutine | Update state with source variable "force". Force term used here is from: "Discrete lattice effects on the forcing term in the lattice Boltzmann method", Zhaoli Guo, Chugung Zheng and Baochang Shi. In the paper, use force term is referred as Method 2 as: Force must be defined as body force per unit volume KM: If this force formula is used then velocity needs to be computed as u = \sum c_i f_i + \vec{F}/2 |
| applySrc_force1stOrd | mus_derQuan_module | Subroutine | Update state with source variable "force_1stOrd" Force term used here is from: "A D3Q27 multiple-relaxation-time lattice Boltzmann method for turbulent flows", K. Suga, Y. Kuwata, K. Takashima, R. Chikasue |
| applySrc_force_GNS | mus_derQuan_module | Subroutine | Update state with source variable "force" for Generalized Navier-Stokes equations. The implementation is taken from "Lattice Boltzmann model for incompressible flows through porous media" by Z. Guo and T.S. Zhao (2002) Physical Review E. |
| applySrc_force_MRT | mus_derQuan_module | Subroutine | Update state with source variable "force" for MRT collision model. Force term used here is from: Chai, Z., & Zhao, T. (2012). Effect of the forcing term in the multiple-relaxation-time lattice Boltzmann equation on the shear stress or the strain rate tensor. Physical Review E, 86(1), 1–11. Force term for MRT is and |
| applySrc_force_MRT_d2q9 | mus_derQuan_module | Subroutine | Update state with source variable "force" for d3q19 MRT collision model. Force term used here is from: Chai, Z., & Zhao, T. (2012). Effect of the forcing term in the multiple-relaxation-time lattice Boltzmann equation on the shear stress or the strain rate tensor. Physical Review E, 86(1), 1–11. Force term for MRT is and |
| applySrc_force_MRT_d3q19 | mus_derQuan_module | Subroutine | Update state with source variable "force" for d3q19 MRT collision model. Force term used here is from: Chai, Z., & Zhao, T. (2012). Effect of the forcing term in the multiple-relaxation-time lattice Boltzmann equation on the shear stress or the strain rate tensor. Physical Review E, 86(1), 1–11. Force term for MRT is and |
| applySrc_force_MRT_d3q27 | mus_derQuan_module | Subroutine | Update state with source variable "force" for MRT collision model. Force term used here is from: Chai, Z., & Zhao, T. (2012). Effect of the forcing term in the multiple-relaxation-time lattice Boltzmann equation on the shear stress or the strain rate tensor. Physical Review E, 86(1), 1–11. Force term for MRT is and |
| applySrc_forceMSLiquid_1stOrd | mus_derQuanMSLiquid_module | Subroutine | Update state with source variable "force" with 1st order integration of force in lattice Boltzmann equation. Simuilar to derive routine but it updates the state whereas derive is used for tracking Refer to Appendix in PhD Thesis of K. Masilamani "Coupled Simulation Framework to Simulate Electrodialysis Process for Seawater Desalination" |
| applySrc_forceMSLiquid_1stOrd_WTDF | mus_derQuanMSLiquid_module | Subroutine | Update state with source variable "force" with thermodynamic factor Simuilar to derive routine but it updates the state whereas derive is used for tracking Refer to Appendix in PhD Thesis of K. Masilamani "Coupled Simulation Framework to Simulate Electrodialysis Process for Seawater Desalination" |
| applySrc_forceMSLiquid_2ndOrd | mus_derQuanMSLiquid_module | Subroutine | Update state with source variable "force" with 2nd order integration of force in lattice Boltzmann equation. Simuilar to derive routine but it updates the state whereas derive is used for tracking Refer to Appendix in PhD Thesis of K. Masilamani "Coupled Simulation Framework to Simulate Electrodialysis Process for Seawater Desalination" |
| applySrc_forceMSLiquid_2ndOrd_WTDF | mus_derQuanMSLiquid_module | Subroutine | Update state with source variable "force" with 2nd order integration of force in lattice Boltzmann equation with thermodynamic factor. Simuilar to derive routine but it updates the state whereas derive is used for tracking Refer to Appendix in PhD Thesis of K. Masilamani "Coupled Simulation Framework to Simulate Electrodialysis Process for Seawater Desalination" |
| applySrc_injectionPS | mus_derQuanPS_module | Subroutine | Update state with source variable "injection" Similar to derive routine but it updates the state whereas derive is used for tracking |
| applySrc_psSourceCoeff | mus_derQuanPS_module | Subroutine | Update state with source variable "ps_sourceCoeff". |
| applySrc_toElem | mus_particle_DPS_module | Subroutine | |
| applySrc_toElem_eps | mus_particle_DPS_module | Subroutine | |
| applySrc_turbChanForce | mus_derQuan_module | Subroutine | Update state with source variable "turb_channel_force" for BGK. |
| applySrc_turbChanForce_MRT | mus_derQuan_module | Subroutine | Update state with source variable "force" for generic MRT collision model for turb_channel_force. It uses velocityX average in bulk to adapt the driving force for turbulent channel. |
| applySrc_turbChanForce_MRT_d2q9 | mus_derQuan_module | Subroutine | Update state with source variable "force" for d3q19 MRT collision model for turb_channel_force. It uses velocityX average in bulk to adapt the driving force for turbulent channel. |
| applySrc_turbChanForce_MRT_d3q19 | mus_derQuan_module | Subroutine | Update state with source variable "force" for d3q19 MRT collision model for turb_channel_force. It uses velocityX average in bulk to adapt the driving force for turbulent channel. |
| applySrc_turbChanForce_MRT_d3q27 | mus_derQuan_module | Subroutine | Update state with source variable "force" for generic MRT collision model for turb_channel_force. It uses velocityX average in bulk to adapt the driving force for turbulent channel. |
| applyVelocityBounceback | mus_particle_MEM_module | Subroutine | ApplyVelocityBounceback adds the momentum exchange term to the distribution function at the particle neighboring fluid nodes this term accounts for the moving boundary of the particle. |
| assign_intp_fluid | mus_interpolate_module | Subroutine | Set up interpolation routines for fluid (weakly compressible) scheme |
| assign_intp_fluidLES | mus_interpolate_module | Subroutine | Set up interpolation routines for fluid (weakly compressible) scheme and turbulence active |
| assignBCList | mus_construction_module | Subroutine | This routine assigns the BC lists Run over all the elements with the property boundary and check each direction. Assign all common boundaries to the level-wise representation 3rd step in build_BCLists |
| bc_pdf | mus_bc_fluid_module | Subroutine | Boundary condition for APESMATE that supports pdfs as input variable Makes it possible to use pdf from, for example, the left to the right domain |
| bgk_advRel_d3q19_GNS | mus_d3q19_module | Subroutine | Advection relaxation routine for the D3Q19 model with BGK based on the !! equilibrium distribution function for the generalized Navier Stokes equations (GNS) aka Volume Averaged Navier-Stokes !! equations (VANS). feq definition from: Z. Guo and T. S. Zhao, “Lattice Boltzmann model for incompressible flows through porous media,” Phys. Rev. E, vol. 66, no. 3, p. 036304, Sep. 2002, doi: 10.1103/PhysRevE.66.036304. |
| bgk_advRel_d3q19f3_MSGas | mus_MSGas_module | Subroutine | Optimized Advection relaxation routine for the MSGas BGK model for d3q19 layout with three species. |
| bgk_advRel_d3q19f3_MSLiquid | mus_MSLiquid_module | Subroutine | Optimized Advection relaxation routine for the MSLiquid BGK model for d3q19 layout with three species. |
| bgk_advRel_d3q19f3_MSLiquid_WTDF | mus_MSLiquid_module | Subroutine | Semi-optimized Advection relaxation routine for the MSLiquid BGK model for d3q19 layout with three species with thermodynamic factor. |
| bgk_advRel_isotherm_acEq_d3q19 | mus_isotherm_acEq_module | Subroutine | Advection relaxation routine for the D3Q19 model with BGK for the isothermal acoustic equation. |
| bgk_advRel_MSGas_generic | mus_MSGas_module | Subroutine | Unoptimized Advection relaxation routine for the multispecies BGK model for testing |
| bgk_advRel_MSLiquid_generic | mus_MSLiquid_module | Subroutine | Unoptimized Advection relaxation routine for the multispecies BGK model |
| bgk_advRel_MSLiquid_generic_WTDF | mus_MSLiquid_module | Subroutine | Unoptimized Advection relaxation routine for the multispecies BGK model with thermodynamic factors in Maxwell-Stefan formulation |
| bgk_DualRelaxationTime_RR_d2q9 | mus_d2q9_module | Subroutine | |
| bgk_DualRelaxationTime_RR_d3q19 | mus_d3q19_module | Subroutine | Recursive Regularized relaxation routine for the D3Q19 This subroutine interface must match the abstract interface definition kernel in scheme/mus_scheme_type_module.f90 in order to be callable via compute function pointer. works for both d3q19 and d3q27 |
| bgk_DualRelaxationTime_RR_d3q27 | mus_d3q27_module | Subroutine | Recursive Regularized relaxation routine for the D3Q27 This subroutine interface must match the abstract interface definition kernel in scheme/mus_scheme_type_module.f90 in order to be callable via compute function pointer. |
| bgk_forcing_advRel_MSLiquid_generic | mus_MSLiquid_module | Subroutine | Unoptimized Advection relaxation routine for the multispecies BGK model with external forcing term |
| bgk_HybridRecursiveRegularized_d2q9 | mus_d2q9_module | Subroutine | Hybrid recursive regularization relaxation routine for the BGK model. based on: Feng et al., JCP 2019, "Hybrid recursive regularized thermal lattice Boltzmann model for high subsonic compressible flows" |
| bgk_HybridRecursiveRegularized_d3q19 | mus_d3q19_module | Subroutine | Projected Recursive Regularized relaxation routine for the D3Q19 This subroutine interface must match the abstract interface definition kernel in scheme/mus_scheme_type_module.f90 in order to be callable via compute function pointer. works for both d3q19 and d3q27 |
| bgk_HybridRecursiveRegularized_d3q27 | mus_d3q27_module | Subroutine | Projected Recursive Regularized relaxation routine for the D3Q19 This subroutine interface must match the abstract interface definition kernel in scheme/mus_scheme_type_module.f90 in order to be callable via compute function pointer. works for both d3q19 and d3q27 |
| bgk_HybridRecursiveRegularizedCorr_d2q9 | mus_d2q9_module | Subroutine | Hybrid recursive regularization relaxation routine for the BGK model. based on: Feng et al., JCP 2019, "Hybrid recursive regularized thermal lattice Boltzmann model for high subsonic compressible flows" |
| bgk_HybridRecursiveRegularizedCorr_d3q19 | mus_d3q19_module | Subroutine | Projected Recursive Regularized relaxation routine for the D3Q19 This subroutine interface must match the abstract interface definition kernel in scheme/mus_scheme_type_module.f90 in order to be callable via compute function pointer. works for both d3q19 and d3q27 |
| bgk_HybridRecursiveRegularizedCorr_d3q27 | mus_d3q27_module | Subroutine | Projected Recursive Regularized relaxation routine for the D3Q19 This subroutine interface must match the abstract interface definition kernel in scheme/mus_scheme_type_module.f90 in order to be callable via compute function pointer. works for both d3q19 and d3q27 |
| bgk_ProjectedRecursiveRegularized_d2q9 | mus_d2q9_module | Subroutine | |
| bgk_ProjectedRecursiveRegularized_d3q19 | mus_d3q19_module | Subroutine | Projected Recursive Regularized relaxation routine for the D3Q19 This subroutine interface must match the abstract interface definition kernel in scheme/mus_scheme_type_module.f90 in order to be callable via compute function pointer. works for both d3q19 and d3q27 |
| bgk_ProjectedRecursiveRegularized_d3q27 | mus_d3q27_module | Subroutine | Projected Recursive Regularized relaxation routine for the D3Q27 This subroutine interface must match the abstract interface definition kernel in scheme/mus_scheme_type_module.f90 in order to be callable via compute function pointer. |
| bgk_RecursiveRegularized_d2q9 | mus_d2q9_module | Subroutine | |
| bgk_RecursiveRegularized_d3q19 | mus_d3q19_module | Subroutine | Recursive Regularized relaxation routine for the D3Q19 This subroutine interface must match the abstract interface definition kernel in scheme/mus_scheme_type_module.f90 in order to be callable via compute function pointer. works for both d3q19 and d3q27 |
| bgk_RecursiveRegularized_d3q27 | mus_d3q27_module | Subroutine | Recursive Regularized relaxation routine for the D3Q27 This subroutine interface must match the abstract interface definition kernel in scheme/mus_scheme_type_module.f90 in order to be callable via compute function pointer. |
| bgk_Regularized_d2q9 | mus_d2q9_module | Subroutine | |
| bgk_Regularized_d3q19 | mus_d3q19_module | Subroutine | Regularized relaxation routine for the D3Q19 and 27 model with BGK. This subroutine interface must match the abstract interface definition kernel in scheme/mus_scheme_type_module.f90 in order to be callable via compute function pointer. works for both d3q19 and d3q27 |
| bgk_Regularized_d3q27 | mus_d3q27_module | Subroutine | Regularized relaxation routine for the D3Q19 and 27 model with BGK. This subroutine interface must match the abstract interface definition kernel in scheme/mus_scheme_type_module.f90 in order to be callable via compute function pointer. works for both d3q19 and d3q27 |
| build_bcLevelPointer | mus_construction_module | Subroutine | |
| build_BClists | mus_construction_module | Subroutine | Assemble the level-wise list of elements which adhere to the boundary conditions. |
| calc_MLUPS | mus_tools_module | Function | Calculate the MLUPS or MFLUPS for the simulation |
| calc_ms_diff_matrix_from_moledens | mus_eNRTL_module | Interface | This routine calculates Maxwell-Stefan diffusivity coeffcient Matrix for given mole_frac of all species |
| calc_ms_diff_matrix_from_molefrac | mus_eNRTL_module | Interface | This routine calculates Maxwell-Stefan diffusivity coeffcient Matrix for given mole_frac of all species |
| calc_surface_vel | mus_particle_interactions_module | Function | |
| calc_therm_factor_loc | mus_eNRTL_module | Interface | This routine calculates thermodynamic factor for given mole_frac of all species |
| calcDensAndVelsFromPDF | mus_bc_species_module | Subroutine | This routine returns mass density of all species and mass averaged mixture velocity from given pdf of all species for single element. It is used in Nonequilbrium extrapolation based boundary conditions. |
| calcPeriodicDistanceToSurface | mus_particle_boundary_module | Subroutine | wrap_periodic checks whether a distance r from x_particle to |
| calcPeriodicRsurface | mus_particle_boundary_module | Subroutine | calcPeriodicRsurface is used to calculate the vector from the particle origin to a point on the surface in presence of periodic boundaries. Usage: first calculate the distance from the particle origin to a surface element using r = baryOfSurface - x_origin. If the particle is close to a periodic boundary this vector may not be correct. In that case a call to calcPeriodicRsurface modifies the vector r to take into account the periodicity. This is done by checking if the magnitude of r is less than the particle radius R_particle (which can be modified with some tolerance if needed). This routine is used for fully resolved (MEM) particles only. |
| calcTurbWallBndForceAndMoment | mus_bc_fluid_turbulent_module | Subroutine | This routine computes bndForce on boundary elements using momentum exchange method. |
| calculate_nElems | mus_construction_module | Subroutine | Calculate global and sum of levels numbers of elements |
| calcVelocityAndPressureGradient | mus_particle_DPS_module | Subroutine | calcVelocityAndPressureGradient calculates the gradient of pressure and curl of the velocity field (in lattice units) at coordinate coord Coord must be a local element on this process! |
| calcVelocityAndPressureGradient_onewaycoupled | mus_particle_DPS_module | Subroutine | calcVelocityAndPressureGradient calculates the gradient of pressure and curl of the velocity field (in lattice units) at coordinate coord Coord must be a local element on this process! |
| calcVelocityAndPressureGradient_onewaycoupled_old | mus_particle_DPS_module | Subroutine | calcVelocityAndPressureGradient calculates the gradient of pressure and curl of the velocity field (in lattice units) at coordinate coord Coord must be a local element on this process! |
| calcVelSW_unitSW_velTau_tVisc | mus_bc_fluid_turbulent_module | Subroutine | Calculation stream-wise velocity compononent from wall function and friction velocity, stream-wise unit vector and turbulent viscosity with mixing length formulation. |
| calcVisc_CS | mus_nonNewtonian_module | Subroutine | Calculate kinematic viscosity from nonNewtonian Casson model. $\mu = (k0 + k1 * sqrt(shearRate))^2/shearRate$ |
| calcVisc_CY | mus_nonNewtonian_module | Subroutine | Calculate kinematic viscosity from nonNewtonian Carreau-Yasuda model. $\mu = \mu_\inf + (\mu_0-\mu_\inf)(1+(\lambdashearRate)a)^((n-1)/a)$ |
| calcVisc_incomp_CS | mus_nonNewtonian_module | Subroutine | Calculate kinematic viscosity from nonNewtonian Casson model for incompressible model. $\mu = (k0 + k1 * sqrt(shearRate))^2/shearRate$ |
| calcVisc_incomp_CY | mus_nonNewtonian_module | Subroutine | Calculate kinematic viscosity from nonNewtonian Carreau-Yasuda model for incompressible model. $\mu = \mu_\inf + (\mu_0-\mu_\inf)(1+(\lambdashearRate)a)^((n-1)/a)$ |
| calcVisc_incomp_PL | mus_nonNewtonian_module | Subroutine | Calculate kinematic viscosity from nonNewtonian power-law model for incompressible model $\mu = K shearRate^(n-1)$ |
| calcVisc_PL | mus_nonNewtonian_module | Subroutine | Calculate kinematic viscosity from nonNewtonian power-law model. $\mu = K shearRate^(n-1)$. Shear rate is computed from strain rate which is computed from nonEquilibrium PDF which in turn computed from pre-collision PDF |
| cascaded_d3q27 | mus_compute_cumulant_module | Subroutine | No comment yet! |
| central_moment | mus_compute_cumulant_module | Function | Calculating central moment. This follows equations 21 in cumulent paper ( Geier .et al 2015 ) |
| central_moment_split | mus_compute_cumulant_module | Function | Calculating central moment by spliting among directions. This follows equations 43, 44, 45 in cumulent paper (Geier .et al 2015) We first do x direction for better performance. |
| check_and_create_new_particles_DPS | mus_particle_creator_module | Subroutine | Routine that checks if new particles should be created and creates them if so. |
| check_and_create_new_particles_MEM | mus_particle_creator_module | Subroutine | Routine that checks if new particles should be created and creates them if so. |
| check_BCs_preRequisite_MS | mus_bc_general_module | Subroutine | Check prerequisite for some boundary conditions |
| check_density | mus_tools_module | Subroutine | Check the total density for a selected scheme and write to unit |
| check_flow_status | mus_aux_module | Subroutine | This routine performs several tasks: geometry increment, time updating, tracking, density checking, restart |
| check_mrt_matrix_d3q19 | mus_mrtInit_module | Function | Unoptimized explicit implementation |
| check_mrt_matrix_d3q27 | mus_mrtInit_module | Function | Unoptimized explicit implementation |
| check_particle_scheme_kind_compatibility | mus_particle_config_module | Function | |
| check_particles_DPS | mus_control_module | Subroutine | |
| check_particles_MEM | mus_control_module | Subroutine | |
| check_potential | mus_tools_module | Subroutine | Check the total potential for poisson scheme |
| check_solid_in_bc | mus_bc_header_module | Subroutine | It count valid (non-solid) elements in BC elements list. Input: minLevel, maxLevel LevelPointer LevelDesc nElems - number of BC elements elems - positions of BC elements in tree or levelPointer Output: nValid - number of valid BC elements posInBCElem - positions of valid elements in BC elements list |
| check_streaming_layout | mus_tools_module | Subroutine | Check for the streaming layout. |
| check_varSys_forPdfVar | mus_variable_module | Subroutine | This function runs over all variable loaded from restart file check if variables loaded are pdf variable or derive variable |
| check_velocityFluid | mus_tools_module | Subroutine | Check the maximum velocity whether it is above Ma>0.1 |
| check_velocityMS | mus_tools_module | Subroutine | Check the maximum velocity whether it is above Ma>0.1 |
| checkAndCollideDEM | mus_particle_interactions_module | Interface | |
| checkAndCollideDEM_DPS | mus_particle_interactions_module | Subroutine | checkAndCollideDEM checks if two particles A and B collide This is the case if the continuous representations overlap If there is a collision, a collision force is applied to each particle |
| checkAndCollideDEM_MEM | mus_particle_interactions_module | Subroutine | checkAndCollideDEM checks if two particles A and B collide This is the case if the continuous representations overlap If there is a collision, a collision force is applied to each particle checkAndCollideDEM checks if two particles A and B collide This is the case if the continuous representations overlap If there is a collision, a collision force is applied to each particle |
| checkForParticleOverlap | mus_particle_MEM_module | Subroutine | handleParticleOverlap checks for overlap with discrete representations of other particles. Returns overlapsOtherParticle = TRUE if there is overlap. This does not require communication with other processes. |
| closeParticleLog | mus_particle_logging_module | Subroutine | |
| cm_to_pdf | mus_compute_cumulant_module | Function | |
| communicate_property | mus_construction_module | Subroutine | Initialize the communication buffers for a single level |
| compute_bulkViscOmega | mus_species_module | Subroutine | This routine compute bulk viscosity omega for species for all levels omega_bulk = (2-molWeigRatio_k)/(3*bulk_visc) |
| compute_fluid_momentum | mus_particle_checks_module | Subroutine | compute_fluid_momentum calculates the total momentum of the fluid for all fluid elements in the global domain. The result "totalMomentum" is returned in physical units. |
| compute_fricVel | mus_turb_wallFunc_module | Subroutine | This routine computes friction velocity from wall model profile using Newton iteration method |
| compute_molWeightRatio | mus_species_module | Subroutine | This routine computes the molecular weight ratio for all species based asinari model |
| compute_particle_momentum | mus_particle_checks_module | Subroutine | |
| compute_weight | mus_interpolate_module | Subroutine | This routine computes weights for weighted_average interpolation. |
| computeDisplacement | mus_particle_boundary_module | Function | computeDistance computes the shortest distance between points x1 and x2 In doing so it takes possible periodic boundaries into account. |
| computeHydroForces_DPS | mus_particle_DEM_module | Subroutine | DEM_computeExternalForces adds the non-DEM forces (including hydrodynamic force from the LBM) to F_DEM which is used to update velocity within the DEM subcycle. |
| computeLubForce_normal | mus_particle_interactions_module | Function | |
| computeLubForce_tangential | mus_particle_interactions_module | Function | |
| computeStreamWiseVel | mus_turb_wallFunc_module | Subroutine | This routines computes streamWise velocity component from friction velocity and distance to boundary using any wall function profile. |
| computeWallForce_1D | mus_particle_interactions_module | Function | computeWallForce_1D computes the 1D DEM force between a particle at position xp with velocity un to a wall at position xwall. |
| computeWallForce_DPS | mus_particle_DEM_module | Function | Routine for computing the collision force between particles and walls for the case of a simple prismatic domain with walls aligned with the Cartesian axes. |
| computeWallPosSum | mus_particle_interactions_module | Interface | |
| computeWallPosSum_DPS | mus_particle_interactions_module | Subroutine | computeWallPosSum computes the sum of the locations of wall boundaries in the area surrounding the particle. It also sets rmflag to true if an open boundary is detected, indicating that this particle should be removed from the global domain (in a different routine) |
| computeWallPosSum_MEM | mus_particle_interactions_module | Subroutine | computeWallPosSum computes the sum of the locations of wall boundaries in the area surrounding the particle. It also sets rmflag to true if an open boundary is detected, indicating that this particle should be removed from the global domain (in a different routine) |
| convPrePost | mus_derivedQuantities_module2 | Function | Conversion factor betwen the pre- and post-collision quantity for the shear stress. |
| coordExistsOnMyRank | mus_particle_aux_module | Function | Checks if integer coordinate is in the total list of this rank |
| coordLocalOnMyRank | mus_particle_aux_module | Function | Routine which checks whether integer coordinate is local on the current rank |
| countnBnds | mus_construction_module | Subroutine | Identify the number of boundary condition elements of each BC type and number of elements with multiple BC types. This is 1st step in Build_BClists |
| create_particles_DPS | mus_particle_creator_module | Subroutine | Routine to create new unresolved DPS particles |
| create_particles_MEM | mus_particle_creator_module | Subroutine | Routine to create new fully resolved MEM particles |
| createNewParticle_DPS | mus_particle_creator_module | Subroutine | Routine to create a new particle using the information in the particleCreator object |
| createNewParticle_MEM | mus_particle_creator_module | Subroutine | Routine to create a new particle using the information in the particleCreator object |
| cross_product | mus_particle_aux_module | Subroutine | computes cross-product a x b = res |
| cumnor | mus_particle_prob_module | Subroutine | ************80 |
| cumulant_d3q27 | mus_compute_cumulant_module | Subroutine | No comment yet! |
| cumulant_d3q27_extended_fast | mus_compute_cumulant_module | Subroutine | Cumulant kernel based on Geier2017 and optimized. Just omega(2) is given in input. omega(2)=-1 means omega2=omegaBulk. Limiters read from input. lim(N)=10^10 means unlimited. lim(N) is for omega(N+2). Just omega(3:5) are limited as in the paper. omega(6:10) = 1._rk |
| cumulant_d3q27_extended_generic | mus_compute_cumulant_module | Subroutine | Cumulant based on Geier2017 paper. With all modifications and limiters. All omegas are given in input. When omega(N) = -1 means adjusted in this routine. omega(2)=-1 means omega2=omegaBulk. Limiters read from input. lim(N)=10^10 means unlimited. lim(N) is for omega(N+2). Just omega(3:5) are limited as in the paper. |
| cumulant_omega_check | mus_cumulantInit_module | Subroutine | Checking the stability regions of omegas for the parametrized Cumulant Just omega(2) is given in input. omega(2)=-1 means omega2=omegaBulk. Limiters read from input. lim(N)=10^10 means unlimited. lim(N) is for omega(N+2). Just omega(3:5) are limited as in the paper. omega(6:10) = 1._rk |
| debug_connectivity | mus_debug_module | Subroutine | Detailed Debug output to the PDF neighbor (connectivity) list |
| debug_dependencies | mus_interpolate_tools_module | Subroutine | check the dependencies from Finer |
| debug_dependenciesFromCoarser | mus_debug_module | Subroutine | Interpolation routine that is based on a simple weighted average of source nodes. This is the interpolation coarse-> fine. Weights are needed here, as the distances source <-> target are different for the source nodes. |
| debug_dependenciesFromFiner | mus_debug_module | Subroutine | Debug the dependencies for the ghostFromFiner elements |
| debug_glob_boundary_type | mus_bc_header_module | Subroutine | |
| debug_normals | mus_debug_module | Subroutine | Dump the neighbors found for the boundaries with neighbor elements |
| DEM_collideWithPlanarWall_DPS | mus_particle_interactions_module | Subroutine | |
| DEM_collideWithWall | mus_particle_interactions_module | Interface | |
| DEM_collideWithWall_DPS | mus_particle_interactions_module | Subroutine | |
| DEM_collideWithWall_MEM | mus_particle_interactions_module | Subroutine | |
| DEM_computeExternalForces | mus_particle_DEM_module | Subroutine | DEM_computeExternalForces adds the non-DEM forces (including hydrodynamic force from the LBM) to F_DEM which is used to update velocity within the DEM subcycle. |
| DEM_computeExternalForces_DPS_oneway | mus_particle_DEM_module | Subroutine | DEM_computeExternalForces adds the non-DEM forces (including hydrodynamic force from the LBM) to F_DEM which is used to update velocity within the DEM subcycle. |
| DEM_computeLocalCollisionForces | mus_particle_DEM_module | Subroutine | Compute collision forces using Discrete Element Method between particles local to this process i.e. both particles are owned by this process. |
| DEM_computeLocalCollisionForces_DPS | mus_particle_DEM_module | Subroutine | Compute collision forces using Discrete Element Method between particles local to this process i.e. both particles are owned by this process. |
| DEM_computeRemoteCollisionForces | mus_particle_DEM_module | Subroutine | Compute collision forces using Discrete Element Method between particle pairs where particles belong to different processes. |
| DEM_computeRemoteCollisionForces_DPS | mus_particle_DEM_module | Subroutine | Compute collision forces using Discrete Element Method between particle pairs where particles belong to different processes. |
| DEM_computeWallForces_DPS | mus_particle_DEM_module | Subroutine | DEM_computeWallForces_DPS computes the forces on particles as a result of collisions with walls described in the boundaryData object. These forces are only computed for particles owned by this process. |
| DEM_computeWallForces_MEM | mus_particle_interactions_module | Subroutine | |
| DEM_exchangeForces | mus_particle_comm_module | Subroutine | DEM_exchangeForces sends DEM collision force contributions from collisions that cannot be resolved by the receiving process. The send force buffers in this case must already be filled in the DEM collision-handling routines! |
| DEM_exchangeForces_DPS | mus_particle_comm_module | Subroutine | DEM_exchangeForces sends DEM collision force contributions from collisions that cannot be resolved by the receiving process. The send force buffers in this case must already be filled in the DEM collision-handling routines! |
| DEM_exchangeWallPositions | mus_particle_comm_module | Subroutine | DEM_exchangeWallPositions sends wall position sums close to a particle as detected on each process to the particle owner, which averages the results to get one average wall position Upon termination of this routine particle%rwall for all particles which I own should be set correctly. |
| DEM_exchangeWallPositions_DPS | mus_particle_comm_module | Subroutine | DEM_exchangeWallPositions sends wall position sums close to a particle as detected on each process to the particle owner, which averages the results to get one average wall position Upon termination of this routine particle%rwall for all particles which I own should be set correctly. |
| DEM_fillNeighborList | mus_particle_DEM_module | Subroutine | |
| DEM_isRemoteCollision | mus_particle_interactions_module | Interface | |
| DEM_isRemoteCollision_DPS | mus_particle_interactions_module | Subroutine | |
| DEM_isRemoteCollision_MEM | mus_particle_interactions_module | Subroutine | |
| DEM_resetFnext_DPS | mus_particle_DEM_module | Subroutine | Reset the force at the next time step to 0 |
| DEM_resetFnext_MEM | mus_particle_DEM_module | Subroutine | Reset the force at the next time step to 0 |
| DEM_storeWallPositions_MEM | mus_particle_DEM_module | Subroutine | |
| DEM_swapFnowFnext | mus_particle_DEM_module | Interface | |
| DEM_swapFnowFnext_DPS | mus_particle_DEM_module | Subroutine | Swap the indices of Fnow and Fnext pointing to the force at the current and next time step respectively |
| DEM_swapFnowFnext_MEM | mus_particle_DEM_module | Subroutine | Swap the indices of Fnow and Fnext pointing to the force at the current and next time step respectively |
| DEMSubcycles_DPS | mus_particle_DEM_module | Subroutine | DEMsubcycles runs Nsubcycles time integration steps per LBM time step In this routine velocity verlet integration of particle position and velocity is used. |
| DEMSubcycles_DPS_onewaycoupled | mus_particle_DEM_module | Subroutine | DEMsubcycles runs Nsubcycles time integration steps per LBM time step In this routine velocity verlet integration of particle position and velocity is used. This routine is for one-way coupled DPS particles. |
| DEMSubcycles_MEM | mus_particle_DEM_module | Subroutine | DEMsubcycles runs Nsubcycles time integration steps per LBM time step In this routine simple Forward Euler integration of particle position and velocity is used. |
| derDensityIsothermAcEq | mus_derQuanIsothermAcEq_module | Subroutine | Calculate the density of a given set of elements (sum up all links). |
| derEquilIsothermAcEq | mus_derQuanIsothermAcEq_module | Subroutine | Calculate the equlibrium of given elements with the given input state array. |
| derEquilIsothermAcEq_fromIndex | mus_derQuanIsothermAcEq_module | Subroutine | Initiates the calculation of equilibrium. This routine sets the function Pointer for equilibrium calcualtion and calls the generice get Value of Index routine |
| derive_absorbLayer | mus_derQuan_module | Subroutine | Derive absorb layer variable defined as a source term. |
| derive_absorbLayerIncomp | mus_derQuanIncomp_module | Subroutine | Derive absorb layer variable defined as a source term. |
| derive_brinkmanForce | mus_derQuan_module | Subroutine | Derive the Brinkman force variable defined as a source term. |
| derive_brinkmanForce_TRT | mus_derQuan_module | Subroutine | Derive Brinkman force variable defined as a source term with TRT operator. It evaluates spacetime function defined in lua file for Brinkman coefficient variable and multiplies it with negative velocity to obtain the force term. This force term is then converted to state value which is to be added to the state with respect to TRT operator. Reference: 1) Zhaoli Guo and T. S. Zhao. “Lattice Boltzmann Model for Incompressible Flows through Porous Media”. In: Physical Review E 66.3 (2002), p. 036304. doi: 10.1103/PhysRevE.66.036304. 2) Irina Ginzburg. “Consistent lattice Boltzmann schemes for the Brinkman model of porous flow and infinite Chapman-Enskog expansion”. In: Phys. Rev. E 77 (6 June 2008), p. 066704. doi: 10.1103/PhysRevE.77.066704. |
| derive_equalInjectionPS | mus_derQuanPS_module | Subroutine | Derive injection variable defined as a source term for lbm passive scalar. It evaluates spacetime function defined in lua file for injection variable and convert it to state value which is to be added to the state |
| derive_force1stOrd | mus_derQuan_module | Subroutine | Derive external force variable defined as a source term. It evaluates spacetime function defined in lua file for force variable and convert it to state value which is to be added to the state |
| derive_force_MRT | mus_derQuan_module | Subroutine | Derive external force variable defined as a source term. It evaluates spacetime function defined in lua file for force variable and convert it to state value which is to be added to the state |
| derive_HRRCorrection_d2q9 | mus_derQuan_module | Subroutine | Derive external force variable defined as a source term. It evaluates spacetime function defined in lua file for force variable and convert it to state value which is to be added to the state |
| derive_HRRCorrection_d3q19 | mus_derQuan_module | Subroutine | Derive external force variable defined as a source term. It evaluates spacetime function defined in lua file for force variable and convert it to state value which is to be added to the state |
| derive_HRRCorrection_d3q27 | mus_derQuan_module | Subroutine | Derive external force variable defined as a source term. It evaluates spacetime function defined in lua file for force variable and convert it to state value which is to be added to the state |
| derive_injectionPS | mus_derQuanPS_module | Subroutine | Derive injection variable defined as a source term for lbm passive scalar. It evaluates spacetime function defined in lua file for injection variable and convert it to state value which is to be added to the state |
| derive_psSourceCoeff | mus_derQuanPS_module | Subroutine | Derive external source variable defined as a source term. |
| deriveAux_fromState | mus_derQuan_module | Subroutine | This routine computes auxField from state array |
| deriveAuxMSGas_fromState | mus_derQuanMSGas_module | Subroutine | This routine computes auxField 'density and velocity' of given field from state array. velocity of original PDF is computed in this routine by solving LSE |
| deriveAuxMSLiquid_fromState | mus_derQuanMSLiquid_module | Subroutine | This routine computes auxField 'density and velocity' of given field from state array. velocity of original PDF is computed in this routine by solving LSE. |
| deriveAuxMSLiquid_fromState_WTDF | mus_derQuanMSLiquid_module | Subroutine | This routine computes auxField 'density and velocity' of given field from state array with thermodynamic factot. velocity of original PDF is computed in this routine by solving LSE. |
| deriveAuxNP_fromState | mus_derQuanNernstPlanck_module | Subroutine | subroutine to add derive variables for weakly compressible PB (schemekind = 'nernstPlanck') to the varsys. A Coupled Lattice Boltzmann Method to Solve Nernst-Planck Model for Simulating Electro-Osmotic flows author> Xuguang yang This routine computes auxField 'mole_density' from state array |
| deriveAuxPoisson_fromState | mus_derQuanPoisson_module | Subroutine | This routine computes auxField 'potential' from state array |
| deriveAuxPS_fromState | mus_derQuanPS_module | Subroutine | This routine computes auxField from state array |
| deriveBndForce | mus_derQuan_module | Subroutine | Calculate the force on the boundary of a given set of elements |
| deriveBndMoment | mus_derQuan_module | Subroutine | Calculate the moment on the boundary of a given set of elements |
| deriveChargeDensity | mus_derQuanMSLiquid_module | Subroutine | Calculate charge density of a given element for mixture. Charge density is mixture quantity to it returns same value for all species charge_density = Faraday * \sum_i z_i*density_i/molecularWeight_i |
| deriveChargeDensity_fromIndex | mus_derQuanMSLiquid_module | Subroutine | Calculate charge density from species concentration |
| deriveChargeDensityBoltzAppr_forElement | mus_derQuanPoisson_module | Subroutine | Calculate charge density from potential field using Boltzmann approximation |
| deriveChargeDensityBoltzAppr_fromIndex | mus_derQuanPoisson_module | Subroutine | Calculate charge density from potential field using Boltzmann approximation from given index |
| deriveChargeDensityPhy | mus_derQuanPhysics_module | Subroutine | Calculate the charge density of a given set of elements |
| deriveChargeDensityPhy_fromIndex | mus_derQuanPhysics_module | Subroutine | Calculate the charge density of a given idx |
| deriveCurrentDensity | mus_derQuanMSLiquid_module | Subroutine | Current density is computed from species momentum stored in auxField array. Current density, J = charge_density*velocity = \rho_e * u = \sum_k z_k F p_k / M_k where p_k is the species momentum |
| deriveCurrentDensity_fromIndex | mus_derQuanMSLiquid_module | Subroutine | Calculate current density from species momentum |
| deriveCurrentDensityPhy | mus_derQuanPhysics_module | Subroutine | Calculate the current density of a given set of elements |
| deriveCurrentDensityPhy_fromIndex | mus_derQuanPhysics_module | Subroutine | Calculate the current density of a given idx (sum up all links). |
| deriveDensity | mus_derQuan_module | Subroutine | Initiates the calculation of density This routine sets the function Pointer for density calcualtion and calls the generice get Element from PDF routine |
| deriveDensity_fromIndex | mus_derQuan_module | Subroutine | Initiates the calculation of density. This routine sets the function Pointer for density calcualtion and calls the generice get Value of Index routine |
| deriveDensityPhy | mus_derQuanPhysics_module | Subroutine | Calculate the density of a given set of elements (sum up all links). |
| deriveDensityPhy_fromIndex | mus_derQuanPhysics_module | Subroutine | Calculate the density of a given idx (sum up all links). |
| deriveElectric_FieldPhy | mus_derQuanPhysics_module | Subroutine | Calculate the electric_field of a given set of elements |
| deriveElectric_FieldPhy_fromIndex | mus_derQuanPhysics_module | Subroutine | Calculate the electrical field of a given idx |
| deriveElectricfield_forElement | mus_derQuanPoisson_module | Subroutine | Calculate the electric field of a given set of elements (sum up all links). This routine is used to compute electric field for all scheme kinds |
| deriveElectricfield_fromIndex | mus_derQuanPoisson_module | Subroutine | Calculate the electric field of a given set of elements (sum up all links). This routine is used to compute electric field for all scheme kinds |
| deriveEq_FromState | mus_derQuan_module | Subroutine | This routine computes velocity from state array |
| deriveEq_FromState_IsothermAcEq | mus_derQuanIsothermAcEq_module | Subroutine | This routine computes equil from state array |
| deriveEqMSGas_FromState | mus_derQuanMSGas_module | Subroutine | This routine computes equilibrium from state array |
| deriveEqMSLiquid_FromState | mus_derQuanMSLiquid_module | Subroutine | This routine computes equilibrium from state array |
| deriveEquil | mus_derQuan_module | Subroutine | Initiates the calculation of equlibrium This routine sets the function Pointer for equlibrium calcualtion and calls the generice get Element from PDF routine |
| deriveEquil_fromAux | mus_derQuan_module | Subroutine | This routine computes equilbrium from auxField |
| deriveEquil_fromIndex | mus_derQuan_module | Subroutine | Initiates the calculation of equilibrium. This routine sets the function Pointer for equilibrium calcualtion and calls the generice get Value of Index routine |
| deriveEquil_FromMacro | mus_derQuan_module | Subroutine | This routine computes equilbrium from density and velocity This must comply with interface in mus_variable_module derive_FromMacro |
| deriveEquil_FromMacro_IsothermAcEq | mus_derQuanIsothermAcEq_module | Subroutine | This routine computes equilbrium from density and velocity This must comply with interface in mus_variable_module derive_FromMacro |
| deriveEquilIsoThermAcEq_fromAux | mus_derQuanIsothermAcEq_module | Subroutine | This routine computes equilbrium from auxField |
| deriveEquilMSGas | mus_derQuanMSGas_module | Subroutine | Calculate the equlibrium of a given element number with the given input state vector. |
| deriveEquilMSGas_fromAux | mus_derQuanMSGas_module | Subroutine | This routine computes equilbrium from auxField |
| deriveEquilMSGas_FromMacro | mus_derQuanMSGas_module | Subroutine | This routine computes equilbrium from density and velocity This must comply with mus_variable_module%derive_FromMacro |
| deriveEquilMSLiquid | mus_derQuanMSLiquid_module | Subroutine | Equilibrium from density and momentum stored in auxField |
| deriveEquilMSLiquid_fromAux | mus_derQuanMSLiquid_module | Subroutine | This routine computes equilbrium from auxField |
| deriveEquilMSLiquid_FromMacro | mus_derQuanMSLiquid_module | Subroutine | This routine computes equilbrium from density and velocity This must comply with mus_variable_module%derive_FromMacro |
| deriveEquilNP_fromAux | mus_derQuanNernstPlanck_module | Subroutine | This routine computes equilbrium from auxField |
| deriveEquilPoisson_fromAux | mus_derQuanPoisson_module | Subroutine | This routine computes equilbrium from auxField |
| deriveEquilPS2ndOrder_FromMacro | mus_derQuanPS_module | Subroutine | This routine computes 2nd order equilbrium from density and velocity This must comply with mus_variable_module%derive_FromMacro |
| deriveEquilPS_fromAux | mus_derQuanPS_module | Subroutine | This routine computes equilbrium from auxField |
| deriveEquilPS_FromMacro | mus_derQuanPS_module | Subroutine | This routine computes equilbrium from density and velocity This must comply with mus_variable_module%derive_FromMacro |
| deriveEquilVelMSGas | mus_derQuanMSGas_module | Subroutine | Equilibrium velocity from state Calculate the momentum of a given element for single species or mixture from the cptr scheme state vector for gas mixture (Asinari model). Need to solve the system of equations to compute this momentum since first order moments gives only moments of transformed pdfs. Hence to obtain the first order moments of actual pdfs we need to solve system of equation of size = nSpecies for each velocity components |
| deriveEquilVelMSLiquid | mus_derQuanMSLiquid_module | Subroutine | Equilibrium velocity from density and momentum in auxField. |
| deriveEquilVelWTDF_MSLiquid | mus_derQuanMSLiquid_module | Subroutine | Equilibrium velocity from density and momentum in auxField with thermodynamic factor |
| deriveEquilWTDF_MSLiquid | mus_derQuanMSLiquid_module | Subroutine | Equilibrium from density and momentum in auxField with thermodynamic factor |
| deriveForcePhy | mus_derQuanPhysics_module | Subroutine | Compute and convert following variable force into physical units |
| deriveForcePhy_fromIndex | mus_derQuanPhysics_module | Subroutine | Calculate the bnd_force of a given idx |
| deriveKE | mus_derQuan_module | Subroutine | Calculate kinetic energy from density and velocity in auxField This routine sets the function Pointer for kinetic energy calcualtion and calls the generice get Element from PDF routine |
| deriveKE_forPoint | mus_derQuan_module | Subroutine | Calculates Kinetic energy from density and velocity for given set of points. |
| deriveKe_fromIndex | mus_derQuan_module | Subroutine | Initiates the calculation of kinetic_energy. This routine sets the function Pointer for kinetic_energy calcualtion and calls the generice get Value of Index routine |
| deriveKineEnerPhy | mus_derQuanPhysics_module | Subroutine | Calculate the kinetic energy in physical units The interface has to comply to the abstract interface tem_varSys_proc_element. |
| deriveKineEnerPhy_fromIndex | mus_derQuanPhysics_module | Subroutine | Calculate the kinetic energy of a given idx |
| deriveKinePressMSLiquid | mus_derQuanMSLiquid_module | Subroutine | Calculate mixture kinematic pressure. This routine requires initial total mole density which is defined in mixture table. Formula to compute kinematic pressure here, - species density, \ - species molecular weight ratio, \ - reference mixture number density,\ - reference density. In tracking, |
| deriveKinePressPhy | mus_derQuanPhysics_module | Subroutine | Calculate the kinematic mixture pressure in physical of a given set of elements (sum up all links). |
| deriveKinePressPhy_fromIndex | mus_derQuanPhysics_module | Subroutine | Calculate the kinematic pressure of a given idx |
| deriveMachNr | mus_derQuan_module | Subroutine | Calculate the mach number of a given set of elements (sum up all links). |
| deriveMachNr_forPoint | mus_derQuan_module | Subroutine | Calculates Mach nr for given set of points. |
| deriveMachNr_fromIndex | mus_derQuan_module | Subroutine | Initiates the calculation of mach number. This routine sets the function Pointer for pressure calcualtion and calls the generice get Value of Index routine |
| deriveMassFracMS | mus_derQuanMSLiquid_module | Subroutine | mass fraction from density stored in auxField |
| deriveMixVelMS | mus_derQuanMSLiquid_module | Subroutine | Calculate mixture velocity of a given element from the momentum and density stored in auxField array for liquid mixture. auxField was updated with momentum of untransformed PDF which was computed by solving LSE in compute kernel. |
| deriveMixVelMS_fromIndex | mus_derQuanMSLiquid_module | Subroutine | Calculate mixture velocity from density from species momentum |
| deriveMoleDensity_forElement | mus_derQuanNernstPlanck_module | Subroutine | Calculate the potential of a given set of elements (sum up all links). This routine is used to compute potential for all scheme kinds |
| deriveMoleDensity_fromIndex | mus_derQuanNernstPlanck_module | Subroutine | Calculate the potential of a given set of elements (sum up all links). This routine is used to compute potential for all scheme kinds |
| deriveMoleDensityMS | mus_derQuanMSLiquid_module | Subroutine | Calculate the number density of a given element for single species from the density stored in auxField array. Mixture number density is computed by summing species number density using tem_evalAdd_forElement Number density = density/molecular weight mixture number density = sum(number_density) |
| deriveMoleDensityMS_fromIndex | mus_derQuanMSLiquid_module | Subroutine | Calculate mole density from species concentration for getValOfIndex |
| deriveMoleDensityPhy | mus_derQuanPhysics_module | Subroutine | Calculate the density of a given set of elements (sum up all links). |
| deriveMoleDensityPhy_fromIndex | mus_derQuanPhysics_module | Subroutine | Calculate the mole density of a given idx |
| deriveMoleFluxMS | mus_derQuanMSLiquid_module | Subroutine | Compute mole flux from momentum stored in auxField. mole flux = numDens_i*velocity_i = momentum / molWeight |
| deriveMoleFluxMS_fromIndex | mus_derQuanMSLiquid_module | Subroutine | Calculate mole flux from species momentum for getValOfIndex |
| deriveMoleFluxPhy | mus_derQuanPhysics_module | Subroutine | Calculate the density of a given set of elements (sum up all links). |
| deriveMoleFluxPhy_fromIndex | mus_derQuanPhysics_module | Subroutine | Calculate the mole flux of a given idx |
| deriveMoleFracMS | mus_derQuanMSLiquid_module | Subroutine | mole fraction from density stored in auxField |
| deriveMoment | mus_derQuan_module | Subroutine | Initiates the calculation of moment for 2D This routine sets the function Pointer for moment for 2D calcualtion and calls the generice get Element from PDF routine |
| deriveMomentaMSGas_FromState | mus_derQuanMSGas_module | Subroutine | This routine computes momentum from state array |
| deriveMomentaMSLiquid_FromState | mus_derQuanMSLiquid_module | Subroutine | This routine computes momentum of all species from state array |
| deriveMomentPhy | mus_derQuanPhysics_module | Subroutine | Compute and convert following variable moment into physical units |
| deriveMomentPhy_fromIndex | mus_derQuanPhysics_module | Subroutine | Calculate the bnd_moment of a given idx |
| deriveMomentum | mus_derQuan_module | Subroutine | Calculate momentum from density and velocity stored in auxField |
| deriveMomentum_forPoint | mus_derQuan_module | Subroutine | Calculates momentum from density and velocity for given set of points. |
| deriveMomentum_fromIndex | mus_derQuan_module | Subroutine | Calculate Momentum from density and velocity in auxField. |
| deriveMomentumPhy | mus_derQuanPhysics_module | Subroutine | Calculate the momentum of a given element number with the given input vector (sum up all values) |
| deriveMomentumPhy_fromIndex | mus_derQuanPhysics_module | Subroutine | Calculate the momentum of a given idx |
| deriveMomMSGas_FromState | mus_derQuanMSGas_module | Subroutine | This routine computes momentum from state array |
| deriveMomMSLiquid_FromState | mus_derQuanMSLiquid_module | Subroutine | This routine computes momentum from state array |
| deriveNonEquil | mus_derQuan_module | Subroutine | Initiates the calculation of NonEquil This routine sets the function Pointer for NonEquil calcualtion and calls the generice get Element from PDF routine |
| deriveNonEquil_fromIndex | mus_derQuan_module | Subroutine | Initiates the calculation of non_equilibrium. This routine sets the function Pointer for non_equilibrium calcualtion and calls the generice get Value of Index routine |
| derivePDFMomentsPhy | mus_derQuanPhysics_module | Subroutine | Calculate the momentum of a given element number with the given input vector (sum up all values) |
| derivePDFMomentsPhy_fromIndex | mus_derQuanPhysics_module | Subroutine | Calculate the momentum of a given idx |
| derivePotentialPhy | mus_derQuanPhysics_module | Subroutine | Calculate the potential of a given set of elements |
| derivePotentialPhy_fromIndex | mus_derQuanPhysics_module | Subroutine | Calculate the potential of a given idx |
| derivePressure | mus_derQuan_module | Subroutine | Calculate the pressure of a given set of elements (sum up all links). |
| derivePressure_forPoint | mus_derQuan_module | Subroutine | Calculates pressure for given set of points. |
| derivePressure_fromIndex | mus_derQuan_module | Subroutine | Initiates the calculation of pressure. This routine sets the function Pointer for pressure calcualtion and calls the generice get Value of Index routine |
| derivePressureMS | mus_derQuanMSLiquid_module | Subroutine | Calculate species pressure both for gas and liquid model In case of gas mixture, it is partial pressure where as in liquid mixture this is not valid. However, it is used to compute mixture pressure and then the kinematic_pressure from the mixture pressure. Formula to calculate pressure: here, - species density, \ - species molecular weight ratio, \ |
| derivePressurePhy | mus_derQuanPhysics_module | Subroutine | Compute and convert following variable pressure/shear_stress/wss/shear_mag into physical units |
| derivePressurePhy_fromIndex | mus_derQuanPhysics_module | Subroutine | Calculate the pressure of a given idx |
| deriveQCriterionPhy | mus_derQuanPhysics_module | Subroutine | Convert lattice q-criterion to physical unit i.e strainRate**2 |
| deriveRho_FromState | mus_derQuan_module | Subroutine | This routine computes density from state array |
| deriveShearMag | mus_derQuan_module | Subroutine | Calculate the shear stress magnitude of a given element number with the given |
| deriveShearRate | mus_derQuan_module | Subroutine | Calculate the shear rate |
| deriveShearStress | mus_derQuan_module | Subroutine | Calculate the deviatoric shear stress for Newtonian fluid (exclude pressure) (no mixtures).\n Shear Stress depends on variable: nonEquilibirium |
| deriveSrc_chargeDensity | mus_derQuanPoisson_module | Subroutine | Calculate charge density source variable referred in config file |
| deriveStrainRate | mus_derQuan_module | Subroutine | Initiates the calculation of StrainRate This routine sets the function Pointer for StrainRate calcualtion and calls the generice get Element from PDF routine |
| deriveStrainRate_fromIndex | mus_derQuan_module | Subroutine | Initiates the calculation of kinetic_energy. This routine sets the function Pointer for kinetic_energy calcualtion and calls the generice get Value of Index routine |
| deriveStrainRatePhy | mus_derQuanPhysics_module | Subroutine | Calculate the strain rate (or called rate of strain) |
| deriveStrainRatePhy_fromIndex | mus_derQuanPhysics_module | Subroutine | Calculate the strain rate of a given idx |
| deriveTemp | mus_derQuan_module | Subroutine | Calculate the temperature of a given set of elements (sum up all links). |
| deriveTempPhy | mus_derQuanPhysics_module | Subroutine | Calculate the velocity magnitude of a given element number with the given input vector (sum up all values) |
| deriveTempPhy_fromIndex | mus_derQuanPhysics_module | Subroutine | Calculate the temperature of a given idx |
| deriveVel_FromPreColState | mus_derQuan_module | Subroutine | This routine computes velocity from pre collision state array using Fetch |
| deriveVel_FromState | mus_derQuan_module | Subroutine | This routine computes velocity from state array |
| deriveVelMSGas_FromState | mus_derQuanMSGas_module | Subroutine | This routine computes velocity from state array |
| deriveVelMSLiquid_FromState | mus_derQuanMSLiquid_module | Subroutine | This routine computes velocity from state array |
| deriveVelocitiesMSGas_FromState | mus_derQuanMSGas_module | Subroutine | This routine computes velocity from state array |
| deriveVelocitiesMSLiquid_FromState | mus_derQuanMSLiquid_module | Subroutine | This routine computes velocities of all species from state array |
| deriveVelocity_FromState_IsothermAcEq | mus_derQuanIsothermAcEq_module | Subroutine | This routine computes velocity from state array |
| deriveVelocityMS | mus_derQuanMSLiquid_module | Subroutine | Calculate the velocity of a given element for single species. from the momentum and density stored in auxField array for liquid mixture. auxField was updated with momentum of untransformed PDF which was computed by solving LSE in compute kernel. |
| deriveVelocityMS_fromIndex | mus_derQuanMSLiquid_module | Subroutine | Calculate velocity from species density and momentum in auxField for getValOfIndex |
| deriveVelocityPhy | mus_derQuanPhysics_module | Subroutine | Calculate the velocity of a given element number with the given input vector (sum up all values) |
| deriveVelocityPhy_fromIndex | mus_derQuanPhysics_module | Subroutine | Calculate the velocity of a given idx |
| deriveViscosityPhy | mus_derQuanPhysics_module | Subroutine | Convert lattice viscosity to physical viscosity |
| deriveWSS2D | mus_derQuan_module | Subroutine | |
| deriveWSS3D | mus_derQuan_module | Subroutine | Calculate the wall shear stress (WSS) of a given element with the given input |
| derPressureIsothermAcEq | mus_derQuanIsothermAcEq_module | Subroutine | Calculate the pressure of a given set of elements (sum up all links). |
| derVelocityIsothermAcEq | mus_derQuanIsothermAcEq_module | Subroutine | Initiates the calculation of velocity This routine sets the function Pointer for velocity calcualtion and calls the generice get Element from PDF routine |
| destroy_da_particle_dps | mus_particle_DPS_type_module | Subroutine | |
| destroy_da_particle_mem | mus_particle_MEM_type_module | Subroutine | |
| destroyParticle_MEM | mus_particle_MEM_module | Subroutine | destroyParticle_MEM removes a particle from the lattice and the particleGroup It will * empty the exclusionList * initialize all the former particle elements to new fluid elements * restore connectivity for all these new fluid elements This routine should be followed up by a call to remove_particle_from_da_particle_MEM! |
| distributeParticleVolume | mus_particle_DPS_module | Subroutine | Distribute the volume of a particle to update the fluid volume fraction field |
| do_benchmark | mus_control_module | Subroutine | |
| do_fast_singleLevel | mus_control_module | Subroutine | Control routine for an optimized workflow with reduced functionality. |
| do_intpCoarserAndExchange | mus_control_module | Subroutine | This routine utilizes fluid elements on my level (L) to fill finer ghost elements on next level (L+1). Then it exchanges the datas of finer ghost elements (L+1) between process. |
| do_intpFinerAndExchange | mus_control_module | Subroutine | This routine does: 1. interpolate my coarse ghost element (iLevel) from finer level (iLevel+1) 2. exchange the data of my coarse ghost elements between process |
| do_nothing | mus_interpolate_debug_module | Subroutine | Fill GhostFromFiner elements on my level with debug value |
| do_nothing | mus_bc_fluid_wall_module | Subroutine | No comment yet! |
| do_nothing_arbi | mus_interpolate_debug_module | Subroutine | Fill GhostFromFiner elements on my level with debug value |
| do_recursive_multiLevel | mus_control_module | Subroutine | Main control routine: Update the time step for all levels. Main steps: * if iLevel < maxLevel do recursive at iLevel+1 * do BC at iLevel * do auxField calculation at iLevel * do compute kernel at iLevel * do apply source at iLevel * do do_IntpFinerAndExchange at iLevel if iLevel < maxLevel * intp My Coarser ghost (iLevel) from Finer (iLevel+1) * do exchange bufferFromFiner at iLevel * exchange buffer at iLevel * exchange bufferFromCoarser at iLevel if iLevel > minLevel * do do_intpCoarserAndExchange at iLevel if iLevel < maxLevel * intp Finer Ghost (iLevel+1) from my coarser (iLevel) * exchange bufferFromCoarser at iLevel+1 |
| dump_bc_timing | mus_tools_module | Subroutine | This routine dump compute and BC timing for all ranks rank nFluids tCompute nBCElems tBC tCPU tMainLoop |
| dump_debug_info | mus_debug_module | Subroutine | Dump pdf values into debug files |
| dump_elemDep | mus_interpolate_tools_module | Subroutine | dump dependencies for one element |
| dump_FinerGhostsFromMe | mus_interpolate_tools_module | Subroutine | check the dependencies from Coarser |
| dump_FinerGhostsFromMeBuffer | mus_interpolate_tools_module | Subroutine | check the dependencies from Coarser |
| dump_intpList | mus_interpolate_tools_module | Subroutine | check the dependencies from Finer and write them out so we can compare |
| dump_intpLists | mus_interpolate_tools_module | Subroutine | check the dependencies from Finer |
| dump_level_timing | mus_program_module | Subroutine | |
| dump_linear_partition | mus_tools_module | Subroutine | |
| dump_MyGhostsFromFiner | mus_interpolate_tools_module | Subroutine | check the dependencies from Finer and write them out so we can compare |
| dump_particle_timing | mus_particle_logging_module | Subroutine | Routine to dump particle timing data |
| dump_timing | mus_tools_module | Subroutine | Performance results (MLUPs) are written to a file for statistical review The file-format is simple can be evaluated with gnuplot |
| dumpdata | mus_particle_logging_module | Subroutine | Debugging routine to dump debug tracking data |
| dumpPdfAll | mus_debug_tools_module | Subroutine | write all pdf entries of a all elements of the pdf array for a given level to the debug unit |
| equilFromMacro | mus_derQuanMSLiquid_module | Function | derive equilibrium from macro |
| equilFromMacroWTDF | mus_derQuanMSLiquid_module | Function | derive equilibrium from macro |
| equilVelFromMacro | mus_derQuanMSLiquid_module | Function | Equlibrium velocity from macro |
| equilVelFromMacroWTDF | mus_derQuanMSLiquid_module | Function | Equlibrium velocity from macro with thermodynamic factor |
| exchange_tree_bc | mus_dynLoadBal_module | Subroutine | |
| exchangeForces | mus_particle_comm_module | Subroutine | exchangeForces send force contributions from each process on which a particle exists to the particle owner. The total hydrodynamic force is then computed by the particle owner as the sum of all the force contributions (which physically are the surface forces from the part of the particle surface handled by each process). The owner then updates particle velocity in a subsequent call to a different routine. For momentum-exchange method only! |
| exchangeHydroForces_DPS | mus_particle_comm_module | Subroutine | exchangeHydroForces_DPS exchanges particles hydrodynamic forces after they have been updated by the particle owner. Each process sends force updates for particles they own and receives updates for particles which they do not own, but that do exist in their particleGroup. |
| exchangeMomInc_DPS | mus_particle_comm_module | Subroutine | exchangeMomInc_DPS send the accumulated momentum transfer FROM particles TO fluid from a particle's previous owner to its new owner. |
| exchangeNewParticles_DPS | mus_particle_comm_module | Subroutine | exchangeNewParticles sends all the data needed to initialize a particle on a process. This is needed when a particle travels from one process to another. The data is used to add the particle to the receiving process particleGroup. This only creates a continuous representation of the particle on the receiving process. A subsequent call to a different routine then maps this to the discrete representation in the form of elements in the exclusionList. |
| exchangeNewParticles_MEM | mus_particle_comm_module | Subroutine | exchangeNewParticles sends all the data needed to initialize a particle on a process. This is needed when a particle travels from one process to another. The data is used to add the particle to the receiving process particleGroup. This only creates a continuous representation of the particle on the receiving process. A subsequent call to a different routine then maps this to the discrete representation in the form of elements in the exclusionList. |
| exchangeParticleStates | mus_particle_comm_module | Subroutine | exchangeParticleStates is used to exchange particle (continuous) position and velocity as well as the integer coordOfOrigin. This is necessary for (for example) the collision handling routines |
| exchangeParticlesToRemove | mus_particle_comm_module | Subroutine | If a particle is removed from the global domain (e.g. after colliding with an open boundary) then exchangeParticlesToRemove will send messages informing all other processes that this particle should be removed. |
| exchangeParticlesToRemove_DPS | mus_particle_comm_module | Subroutine | If a particle is removed from the global domain (e.g. after colliding with an open boundary) then exchangeParticlesToRemove will send messages informing all other processes that this particle should be removed. |
| exchangePositions | mus_particle_comm_module | Subroutine | exchangePositions exchanges particles continuous positions after they have been updated by the particle owner. Each process sends position updates for particles they own and receives updates for particles which they do not own, but that do exist in their particleGroup. |
| exchangePositions_DPS | mus_particle_comm_module | Subroutine | exchangePositions exchanges particles continuous positions after they have been updated by the particle owner. Each process sends position updates for particles they own and receives updates for particles which they do not own, but that do exist in their particleGroup. |
| exchangeVelocities | mus_particle_comm_module | Subroutine | exchangeVelocities exchanges particles continuous velocities after they have been updated by the particle owner. Each process sends velocity updates for particles they own and receives updates for particles which they do not own, but that do exist in their particleGroup. |
| exchangeVelocities_DPS | mus_particle_comm_module | Subroutine | exchangeVelocities exchanges particles continuous velocities after they have been updated by the particle owner. Each process sends velocity updates for particles they own and receives updates for particles which they do not own, but that do exist in their particleGroup. |
| expand_da_particle_dps | mus_particle_DPS_type_module | Subroutine | |
| expand_da_particle_mem | mus_particle_MEM_type_module | Subroutine | |
| f_f_eq_regularized_2nd_ord_d2q9 | mus_d2q9_module | Subroutine | |
| f_f_eq_regularized_2nd_ord_d3q19 | mus_d3q19_module | Subroutine | |
| f_f_eq_regularized_2nd_ord_d3q27 | mus_d3q27_module | Subroutine | |
| f_f_eq_regularized_4th_ord_d2q9 | mus_d2q9_module | Subroutine | |
| f_f_eq_regularized_4th_ord_d3q19 | mus_d3q19_module | Subroutine | |
| f_f_eq_regularized_4th_ord_d3q27 | mus_d3q27_module | Subroutine | |
| fill_bcBuffer | mus_bc_general_module | Subroutine | Transfer pdf of boundary elements into bcBuffer which is used by all boundary routines. |
| fill_bins | mus_particle_blob_module | Subroutine | Routine which fills the bins in mus_particle_blob_prob_type |
| fill_blob_positions_gauss | mus_particle_creator_module | Subroutine | Routine to initialize particle creator object with random positions inside a cylinder described by blob_cylinder type |
| fill_blob_positions_gauss_prism | mus_particle_creator_module | Subroutine | Routine to initialize particle creator object with random positions inside a prism described by blob_prism type |
| fill_cylinder | mus_particle_blob_module | Subroutine | Fill_cylinder fills the dynamic array positions with coordinates of particles spaced a distance d apart inside a cylinder with faces z = 0 and z = L and radius R. For cylinders of different position and orientation, these coordinates can be transformed. |
| fill_neighBuffer | mus_bc_general_module | Subroutine | Transfer pre- and post-collision PDF of neighbors of boundary elements into neighBufferPre and neighBufferPost. Access to state array |
| fill_prism | mus_particle_blob_module | Interface | |
| fill_prism_by_distance | mus_particle_blob_module | Subroutine | |
| fill_prism_by_number | mus_particle_blob_module | Subroutine | |
| fillArbiFinerGhostsFromMe_linear | mus_interpolate_linear_module | Subroutine | Interpolate auxiliary field from coarse source to fine target |
| fillArbiFinerGhostsFromMe_linear2D | mus_interpolate_linear_module | Subroutine | Interpolate auxiliary field from coarse source to fine target |
| fillArbiFinerGhostsFromMe_quad | mus_interpolate_quadratic_module | Subroutine | Interpolate auxiliary field from coarse source to fine target |
| fillArbiFinerGhostsFromMe_quad2D | mus_interpolate_quadratic_module | Subroutine | Interpolate auxiliary field from coarse source to fine target |
| fillArbiFinerGhostsFromMe_weighAvg | mus_interpolate_average_module | Subroutine | Interpolate auxiliary field from coarse source to fine target |
| fillArbiMyGhostsFromFiner_avg | mus_interpolate_average_module | Subroutine | Interpolate auxiliary field from fine source to coarse target |
| fillFinerGhostsFromMe_linear2D_feq_fneq | mus_interpolate_linear_module | Subroutine | Fill fine ghost from coarse fluid by linear interpolation for D2Q9 stencil. 1. Compute moments for all source elements, save in momBuf 2. For each target, interpolate moments (den, vel, tau) (10 moments for 3D and 6 moments for 2D) 3. calculate fEq and use it to calculate high order moments 4. convert moments to PDF This routine is used by acoustic linear interpolation. |
| fillFinerGhostsFromMe_linear_feq_fneq | mus_interpolate_linear_module | Subroutine | Fill fine ghost from coarse fluid by linear interpolation for D2Q9 stencil. 1. Compute moments for all source elements, save in momBuf 2. For each target, interpolate moments (den, vel, tau) (10 moments for 3D and 6 moments for 2D) 3. calculate fEq and use it to calculate high order moments 4. convert moments to PDF This routine is used by acoustic linear interpolation. |
| fillFinerGhostsFromMe_linearLES_feq_fneq | mus_interpolate_linear_module | Subroutine | Fill fine ghost from coarse fluid by linear interpolation for D2Q9 stencil. 1. Compute moments for all source elements, save in momBuf 2. For each target, interpolate moments (den, vel, tau) (10 moments for 3D and 6 moments for 2D) 3. calculate fEq and use it to calculate high order moments 4. convert moments to PDF This routine is used by acoustic linear interpolation. |
| fillFinerGhostsFromMe_quad2D_feq_fneq | mus_interpolate_quadratic_module | Subroutine | Fill fine ghost from coarse fluid by quadratic interpolation for D2Q9 stencil. 1. Compute moments for all source elements, save in momBuf 2. For each target, interpolate moments (den, vel, tau) (10 moments for 3D and 6 moments for 2D) 3. calculate fEq and use it to calculate high order moments 4. convert moments to PDF This routine is used by acoustic quadratic interpolation. |
| fillFinerGhostsFromMe_quad_feq_fneq | mus_interpolate_quadratic_module | Subroutine | Fill fine ghost from coarse fluid by quadratic interpolation for D2Q9 stencil. 1. Compute moments for all source elements, save in momBuf 2. For each target, interpolate moments (den, vel, tau) (10 moments for 3D and 6 moments for 2D) 3. calculate fEq and use it to calculate high order moments 4. convert moments to PDF This routine is used by acoustic quadratic interpolation. |
| fillFinerGhostsFromMe_quadLES_feq_fneq | mus_interpolate_quadratic_module | Subroutine | Fill fine ghost from coarse fluid by quadratic interpolation for D2Q9 stencil. 1. Compute moments for all source elements, save in momBuf 2. For each target, interpolate moments (den, vel, tau) (10 moments for 3D and 6 moments for 2D) 3. calculate fEq and use it to calculate high order moments 4. convert moments to PDF This routine is used by acoustic quadratic interpolation. |
| fillFinerGhostsFromMe_weighAvg2D_feq_fneq | mus_interpolate_average_module | Subroutine | Linear interpolation of ghostFromFiner 1. Calculate Equilibrium and nonEquilibrium 2. Compute scaling factor 3. calculate target: Eq + Scale * nonEquilibrium |
| fillFinerGhostsFromMe_weighAvg_feq_fneq | mus_interpolate_average_module | Subroutine | Linear interpolation of ghostFromFiner 1. Calculate Equilibrium and nonEquilibrium 2. Compute scaling factor 3. calculate target: Eq + Scale * nonEquilibrium |
| fillFinerGhostsFromMe_weighAvgLES_feq_fneq | mus_interpolate_average_module | Subroutine | Linear interpolation of ghostFromFiner 1. Calculate Equilibrium and nonEquilibrium 2. Compute scaling factor 3. calculate target: Eq + Scale * nonEquilibrium |
| fillHelperElementsCoarseToFine | mus_flow_module | Subroutine | Recursively fill all the helper elements (i.e. ghost, halo) with valid information from the fluid elements. |
| fillHelperElementsFineToCoarse | mus_flow_module | Subroutine | Recursively fill all the helper elements (i.e. ghost, halo) with valid information from the fluid elements. |
| fillMyGhostsFromFiner_avg2D_feq_fneq | mus_interpolate_average_module | Subroutine | Fill coarse target ghost from fine source fluid by average interpolation. 1. Calculate Equilibrium and nonEquilibrium 2. Compute scaling factor 3. calculate target: Eq + Scale * nonEquilibrium |
| fillMyGhostsFromFiner_avg_feq_fneq | mus_interpolate_average_module | Subroutine | Average interpolation of ghostFromFiner The interpolation procedure used in this routine is:\n 1. Calculate Equilibrium and nonEquilibrium 2. Compute scaling factor 3. calculate target: Eq + Scale * nonEquilibrium |
| fillMyGhostsFromFiner_avgLES_feq_fneq | mus_interpolate_average_module | Subroutine | Average interpolation of ghostFromFiner The interpolation procedure used in this routine is:\n 1. Calculate Equilibrium and nonEquilibrium 2. Compute scaling factor 3. calculate target: Eq + Scale * nonEquilibrium |
| finalize_BClist | mus_construction_module | Subroutine | |
| finalize_particle_interpolator | mus_particle_interpolation_module | Subroutine | |
| find_particle_comm_procs4 | mus_particle_comm_type_module | Subroutine | find_particle_comm_procs generates a list of all processes we may need to communicate particle data with over the duration of the simulation. We only need to communicate this data for particles on our rank which also exist on other processes. This means we will never communicate with processes whose domains are not within one particle diameter of our domain. This is the key assumption used to generate the list of procs Hence the padding distance dpad should be set to the largest particle diameter in the simulation |
| find_possIntpOrderAndUpdateMySources | mus_interpolate_module | Subroutine | Find maximum possible interpolation order which can be used for fillFinerFromMe by comparing nFoundSources with nMaxSources of different interpolation order starting from interpolation order defined by user |
| findParticleFromElem | mus_particle_MEM_module | Subroutine | find particle index and ID in particleGroup array |
| findPartitionOfTreeID | mus_particle_aux_module | Subroutine | Routine to find the process a certain treeID is on. Looks in the ranks in the array of argument procs Returns the INDEX of the found proc in this array Example: procs = [4 8 7] and we find our treeID on rank 8 will return procIndex = 2 |
| findPropIndex | mus_particle_aux_module | Function | |
| fixedPoint_method | mus_turb_wallFunc_module | Function | This routine computes friction velocity from wall model profile using fixed-point iterative method |
| followNeighPath | mus_particle_aux_module | Function | followNeighPath can be used to determine the position of a neighboring lattice site in the total list. For this we follow one or more entries of the levelDesc%neigh array. Since this array is only defined for local fluid elements, startPos must point to a local fluid element. |
| fricVel_Schmitt | mus_turb_wallFunc_module | Subroutine | This routine computes friction velocity from Schmitt wall model. |
| generateElemListLine | mus_particle_logging_module | Subroutine | Debugging routine to create a list of elements along a line so that the properties of these elements can be printed |
| get_auxTime | mus_timer_module | Interface | |
| get_auxTime_atLevel | mus_timer_module | Function | |
| get_auxTime_total | mus_timer_module | Function | |
| get_bcBufferRatio | mus_timer_module | Interface | |
| get_bcBufferRatio_atLevel | mus_timer_module | Function | |
| get_bcBufferRatio_total | mus_timer_module | Function | |
| get_bcBufferTime | mus_timer_module | Interface | |
| get_bcBufferTime_atLevel | mus_timer_module | Function | |
| get_bcBufferTime_total | mus_timer_module | Function | |
| get_boundaryRatio | mus_timer_module | Function | |
| get_boundaryTime | mus_timer_module | Interface | |
| get_boundaryTime_byID | mus_timer_module | Function | |
| get_boundaryTime_total | mus_timer_module | Function | |
| get_communicateRatio | mus_timer_module | Function | |
| get_communicateTime | mus_timer_module | Function | |
| get_computeRatio | mus_timer_module | Interface | |
| get_computeRatio_atLevel | mus_timer_module | Function | |
| get_computeRatio_total | mus_timer_module | Function | |
| get_computeTime | mus_timer_module | Interface | |
| get_computeTime_atLevel | mus_timer_module | Function | |
| get_computeTime_total | mus_timer_module | Function | |
| get_d_uPlus_d_uTau | mus_wall_function_reichardt_module | Function | function to get the derivative of uPlus with respect to uTau |
| get_d_uPlus_d_uTau | mus_wall_function_musker_module | Function | function to get the derivative of uPlus with respect to uTau |
| get_d_uPlus_d_uTau | mus_wall_function_schmitt_module | Function | function to get the derivative of uPlus with respect to uTau |
| get_d_uPlus_d_uTau_interface | mus_wall_function_abstract_module | Interface | |
| get_intpFromCoarserRatio | mus_timer_module | Interface | |
| get_intpFromCoarserRatio_atLevel | mus_timer_module | Function | |
| get_intpFromCoarserRatio_total | mus_timer_module | Function | |
| get_intpFromCoarserTime | mus_timer_module | Interface | |
| get_intpFromCoarserTime_atLevel | mus_timer_module | Function | |
| get_intpFromCoarserTime_total | mus_timer_module | Function | |
| get_intpFromFinerRatio | mus_timer_module | Interface | |
| get_intpFromFinerRatio_atLevel | mus_timer_module | Function | |
| get_intpFromFinerRatio_total | mus_timer_module | Function | |
| get_intpFromFinerTime | mus_timer_module | Interface | |
| get_intpFromFinerTime_atLevel | mus_timer_module | Function | |
| get_intpFromFinerTime_total | mus_timer_module | Function | |
| get_intpRatio | mus_timer_module | Function | |
| get_intpTime | mus_timer_module | Function | |
| get_kineticEnergy_from_vel_dens_compressible | mus_scheme_derived_quantities_module | Function | function pointer to get kineticEnergy from vel and density for any stencil |
| get_kineticEnergy_from_vel_dens_incompressible | mus_scheme_derived_quantities_module | Function | function pointer to get kineticEnergy from vel and density for any stencil |
| get_mainLoopTime | mus_timer_module | Function | |
| get_moment | mus_moments_module | Function | Calculate the moment of a centain order
The moment of a distribution is defined as:\n
The fucntion argument |
| get_momentum_from_vel_dens_compressible | mus_scheme_derived_quantities_module | Function | function pointer to get momentum from vel and density for any stencil |
| get_momentum_from_vel_dens_incompressible | mus_scheme_derived_quantities_module | Function | function pointer to get momentum from vel and density for any stencil |
| get_momentVector | mus_moments_module | Function | get the moment vector to calculate the moment from the pdf |
| get_pdfEq_compressible | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density along a |
| get_pdfEq_compressible_iDir | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density along a |
| get_pdfEq_d2q9 | mus_scheme_derived_quantities_module | Function | This function computes the equilibrium pdf from velocity |
| get_pdfEq_d3q19 | mus_scheme_derived_quantities_module | Function | This function computes the equilibrium pdf from velocity |
| get_pdfEq_d3q27 | mus_scheme_derived_quantities_module | Function | This function computes the equilibrium pdf from velocity |
| get_pdfEq_incomp_d2q9 | mus_scheme_derived_quantities_module | Function | This function computes the incompressible equilibrium pdf from velocity |
| get_pdfEq_incomp_d3q19 | mus_scheme_derived_quantities_module | Function | This function computes the incompressible equilibrium pdf from velocity |
| get_pdfEq_incomp_d3q27 | mus_scheme_derived_quantities_module | Function | This function computes the incompressible equilibrium pdf from velocity |
| get_pdfEq_incompressible | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density along a |
| get_pdfEq_incompressible_iDir | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density along a |
| get_relaxTime | mus_timer_module | Interface | |
| get_relaxTime_atLevel | mus_timer_module | Function | |
| get_relaxTime_total | mus_timer_module | Function | |
| get_rho0Inv_compressible | mus_scheme_derived_quantities_module | Function | function pointer to get kineticEnergy from vel and density for any stencil |
| get_rho0Inv_incompressible | mus_scheme_derived_quantities_module | Function | function pointer to get kineticEnergy from vel and density for any stencil |
| get_sigma_d2q9 | mus_scheme_derived_quantities_module | Function | This function computes the sigma vector necessary to get the |
| get_sigma_d3q19 | mus_scheme_derived_quantities_module | Function | This function computes the sigma vector necessary to get the |
| get_sigma_d3q27 | mus_scheme_derived_quantities_module | Function | This function computes the sigma vector necessary to get the |
| get_stageRatio | mus_timer_module | Function | |
| get_stageTime | mus_timer_module | Function | |
| get_uPlus | mus_wall_function_reichardt_module | Function | function to get uPlus |
| get_uPlus | mus_wall_function_musker_module | Function | function to get uPlus |
| get_uPlus | mus_wall_function_schmitt_module | Function | function to get uPlus |
| get_uPlus_interface | mus_wall_function_abstract_module | Interface | |
| get_uTau_logLayer | mus_wall_function_schmitt_module | Function | |
| get_uTau_subVisousLayer | mus_wall_function_schmitt_module | Function | |
| get_vel_from_pdf_compressible | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density for any stencil |
| get_vel_from_pdf_compressible_vectorized | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density for any stencil |
| get_vel_from_pdf_d2q9 | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density for d2q9 stencil |
| get_vel_from_pdf_d2q9_incompressible | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density for d2q9 stencil |
| get_vel_from_pdf_d2q9_vectorized | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density for any stencil |
| get_vel_from_pdf_d2q9_vectorized_incompressible | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density for any stencil |
| get_vel_from_pdf_d3q19 | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density for d3q19 stencil |
| get_vel_from_pdf_d3q19_incompressible | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density for d3q19 stencil |
| get_vel_from_pdf_d3q19_vectorized | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density for any stencil |
| get_vel_from_pdf_d3q19_vectorized_incompressible | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density for any stencil |
| get_vel_from_pdf_d3q27 | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density for d3q27 stencil |
| get_vel_from_pdf_d3q27_incompressible | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density for d3q27 stencil |
| get_vel_from_pdf_d3q27_vectorized | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density for any stencil |
| get_vel_from_pdf_d3q27_vectorized_incompressible | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density for any stencil |
| get_vel_from_pdf_incompressible | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density for any stencil |
| get_vel_from_pdf_incompressible_vectorized | mus_scheme_derived_quantities_module | Function | function pointer to get pdf equilibrium from vel and density for any stencil |
| get_xd | mus_particle_interpolation_module | Function | |
| getBaryOfCoord | mus_particle_aux_module | Function | Convenience function to get barycenter of integer coordinate |
| getCartesianStencilIndices | mus_particle_aux_module | Subroutine | |
| getConversionFac | mus_solSpecHelpers_module | Function | Get the conversion factor variable from physics table from a given solver specific character handle. |
| getDensity | mus_derivedQuantities_module2 | Interface | |
| getDensity_forElemFromState | mus_derivedQuantities_module2 | Function | Calculate the density of a given element number with the given state vector (sum up all values) |
| getDensity_forPdfSubset | mus_derivedQuantities_module2 | Function | Calculate the density of a given subset of pdfs vector (sum up all values) |
| getEqByDensVel | mus_derivedQuantities_module2 | Function | Calculate the equilibrium distribution function in all directions |
| getEquilibrium | mus_derivedQuantities_module2 | Interface | |
| getEquilibrium_forElemfromState | mus_derivedQuantities_module2 | Function | Calculate the equilibrium distribution function in all directions |
| getEquilibrium_forPdfSubset | mus_derivedQuantities_module2 | Function | Calculate the equilibrium distribution function in all directions |
| getEquilibriumIncomp | mus_derivedQuantities_module2 | Function | Calculate the equilibrium distribution function in all directions This is the incompressible formulation with reference density rho0 |
| getFieldPrefixes | mus_solSpecHelpers_module | Function | Get the right field prefixes from a given solver specific character handle. |
| getFieldVariable | mus_solSpecHelpers_module | Interface | |
| getFieldVariable_array | mus_solSpecHelpers_module | Function | Get the field variable name for given field type from a given solver specific character handle. |
| getFieldVariable_scalar | mus_solSpecHelpers_module | Function | Get the field variable name for given field type from a given solver specific character handle. |
| getGradRhoU3_1D | mus_gradData_module | Function | This function computes gradient of rho * velocity^3 from gradient, density and veleocity data. Just derivatives u_x, v_y and w_z. Gradient is computed using central difference. if an element has an boundary then neighbor refers to current element then forward difference is used. |
| getGradRhoU3_2D | mus_gradData_module | Function | This function computes gradient of rho * velocity^3 from gradient, density and veleocity data. Just derivatives u_x, v_y and w_z. Gradient is computed using central difference. if an element has an boundary then neighbor refers to current element then forward difference is used. |
| getGradRhoU3_3D | mus_gradData_module | Function | This function computes gradient of rho * velocity^3 from gradient, density and veleocity data. Just derivatives u_x, v_y and w_z. Gradient is computed using central difference. if an element has an boundary then neighbor refers to current element then forward difference is used. |
| getGradRhoUVZ_3D | mus_gradData_module | Function | This function computes gradient of rho * velocity^3 from gradient, density and veleocity data. Just derivatives u_x, v_y and w_z. Gradient is computed using central difference. if an element has an boundary then neighbor refers to current element then forward difference is used. |
| getGradU_1D | mus_gradData_module | Function | This function computes gradient of velocity from gradient and veleocity data. Gradient is computed using central difference. if an element has an boundary then neighbor refers to current element then forward difference is used |
| getGradU_2D | mus_gradData_module | Function | This function computes gradient of velocity from gradient and veleocity data. Gradient is computed using central difference. if an element has an boundary then neighbor refers to current element then forward difference is used |
| getGradU_3D | mus_gradData_module | Function | This function computes gradient of velocity from gradient and veleocity data. Gradient is computed using central difference. if an element has an boundary then neighbor refers to current element then forward difference is used |
| getGradXXU_1D | mus_gradData_module | Function | This function computes gradient of velocity from gradient and veleocity data. Gradient is computed using central difference. if an element has an boundary then neighbor refers to current element then forward difference is used |
| getGradXXU_2D | mus_gradData_module | Function | This function computes gradient of velocity from gradient and veleocity data. Gradient is computed using central difference. if an element has an boundary then neighbor refers to current element then forward difference is used |
| getGradXXU_3D | mus_gradData_module | Function | This function computes gradient of velocity from gradient and veleocity data. Gradient is computed using central difference. if an element has an boundary then neighbor refers to current element then forward difference is used |
| getHermitepolynomials | mus_hrrInit_module | Subroutine | This function computes Hermite polinomial. It gives in output minimum |
| getHermitepolynomials_D3Q19 | mus_hrrInit_module | Subroutine | This function computes Hermite polinomial. It gives in output minimum |
| getIdentifyChar | mus_solSpecHelpers_module | Function | Get a character from the identify table using a given solver specific character handle and a given key word. |
| getIndexOfCoordInTotal | mus_particle_DPS_module | Subroutine | Get the index in the total list of a specified integer coordinate |
| getInterpolationBnds | mus_particle_interpolation_module | Subroutine | getInterpolationBnds is used to determine which cells to interpolate fluid quantities from for a particle positioned at its coordOfOrigin + r_lat. The 8 cells obtained are the cells whose barycenter forms the tightest bounding cube around the particle. |
| getNeighborCoord | mus_particle_boundary_module | Function | getNeighborCoord gets the coordinate of the element offset from input coord by (nx,ny,nz) while taking into account periodicity |
| getNEq_acoustic | mus_derivedQuantities_module2 | Function | Setting the non-equilibrium part based on the acoustic scaling |
| getNEq_diffusive | mus_derivedQuantities_module2 | Function | Calculate the non-equilibrium part of pdf from strain rate tensor based on the diffusive scaling |
| getNewParticleID | mus_particle_creator_module | Function | Routine to generate a unique particleID for a particle |
| getNFields | mus_solSpecHelpers_module | Function | Get the number of fields from a given solver specific character handle. |
| getNonEqFac_intp | mus_derivedQuantities_module2 | Function | Calculate the conversion factor to convert nonEq moments between fine and coarser. |
| getNonEqFac_intp_coarse_to_fine | mus_derivedQuantities_module2 | Function | Calculate the conversion factor to convert nonEq pdfs from coarse to fine. |
| getNonEqFac_intp_fine_to_coarse | mus_derivedQuantities_module2 | Function | Calculate the conversion factor to convert nonEq pdfs from fine to coarse. |
| getParticleLogUnit | mus_particle_logging_module | Function | Routine to create a particle logunit based on particle ID |
| getPathToVec | mus_particle_aux_module | Subroutine | getPathToVec builds a series of 3 indices which can be followed using the levelDesc(lev)%neigh array to get the position of a neighboring element in the total list. Usage: given an element at coordinate [0,0,0] with position startPos in the total list, to reach the element at [1,1,1] we do: call getPathToVec([1,1,1], cxDir, path) pos = startPos do k = 1,3 pos = levelDesc(lev)%neigh%nghElems(path(k),pos) end do At the end of the loop pos will point to the requested element |
| getPosOfCoord | mus_particle_aux_module | Function | Get the position in the levelDesc%total list of an element with integer coordinate coord. This routine returns ldPos <= 0 if the element could not be found on this process. |
| getProcessBoundingBox | mus_particle_aux_module | Subroutine | Routine to find the bounding box of the part of the spatial domain on this process |
| getSearchBoxLimits | mus_particle_comm_type_module | Subroutine | getSearchBoxLimits is used in find_particle_comm_procs to determine where the non-local elements we have to check the owner proc of are. |
| getShearRate | mus_derivedQuantities_module2 | Function | Calculate the Shear Rate |
| getVariable_FromTable | mus_solSpecHelpers_module | Function | Get the value of variable inside the table name 'key' in scheme @note Todo extent it for vectors |
| getVelocity | mus_derivedQuantities_module2 | Interface | |
| getVelocity_forElemFromState_noForce | mus_derivedQuantities_module2 | Function | Calculate the velocity in all 3 directions from the element indicated (elem), reading the pdf (state information) from the state array. state array includes all the pdfs of all elements. The access to the state array has to be done via the generic access macro IDX, as we want to access post-collision values. |
| getVelocity_forPdfSubset | mus_derivedQuantities_module2 | Function | Calculate the velocity in all 3 directions from a subset given, ordered according to the stencil |
| getVelocity_forPdfSubset_incomp | mus_derivedQuantities_module2 | Function | Calculate the velocity in all 3 directions from a subset given, ordered according to the stencil |
| getVelocity_incomp | mus_derivedQuantities_module2 | Interface | |
| getWeights | mus_solSpecHelpers_module | Function | Get the the weights of a used stencil from a given solver specific character handle. |
| getwght1d_linear | mus_particle_interpolation_module | Function | Weight function for 1d linear interpolation or distribution. Given the distance from particle to fluid cell barycenter, it returns weight, where weight is a linear function of the distance between the position of the particle and the barycenter of the lattice site we are distributing to. |
| getWSS | mus_derQuan_module | Function | Calculate wss from shear stress (tau) tau: x, y, z, xy, yz, xz |
| grabValueAtCoord | mus_particle_DPS_module | Interface | Interface for routine to get the value of the velocity and pressure field at a specified integer coordinate |
| grabValueAtCoord_onewaycoupled | mus_particle_DPS_module | Subroutine | Get the value of the density and velocity at a certain integer coordinate |
| grabValueAtCoord_twowaycoupled | mus_particle_DPS_module | Subroutine | Get the value of the density and velocity at a certain integer coordinate |
| has_remote_neighbors | mus_particle_aux_module | Function | Function which checks if element has remote neighbors |
| HRR_Correction_d2q9 | mus_hrrInit_module | Subroutine | |
| HRR_Correction_d3q19 | mus_hrrInit_module | Subroutine | |
| HRR_Correction_d3q27 | mus_hrrInit_module | Subroutine | |
| incrementAuxField_DPS | mus_particle_DPS_module | Subroutine | Add momentum increments due to particles within DEM subcycles to the auxField |
| init_advRel | mus_flow_module | Subroutine | Choose the relaxation model |
| init_boundary_single | mus_bc_general_module | Subroutine | This subroutine sets the right boundary conditions for the different boundaries. |
| init_cxDirWeightedAvg | mus_interpolate_header_module | Function | Initialize stencil for weighted average interpolation |
| init_da_particle_dps | mus_particle_DPS_type_module | Subroutine | |
| init_da_particle_mem | mus_particle_MEM_type_module | Subroutine | |
| init_enrtl_loc | mus_eNRTL_module | Interface | This function initialize eNRTL model by loading liquid mixture property from filename |
| init_intpArraysPerLevel | mus_interpolate_module | Subroutine | |
| init_levelBuffers | mus_construction_module | Subroutine | Initialize the communication buffers for a single level |
| init_momentsBC | mus_bc_general_module | Subroutine | Initialize the values required for the moments BC |
| init_mus_particles_comm_type | mus_particle_comm_type_module | Subroutine | Allocate mus_particles_communication_type and its variables |
| init_nrbc | mus_bc_general_module | Subroutine | Initialize the values required for the characteristic boundary conditions |
| init_particle_blob_prob | mus_particle_blob_module | Interface | |
| init_particle_blob_prob_circle | mus_particle_blob_module | Subroutine | |
| init_particle_blob_prob_square | mus_particle_blob_module | Subroutine | |
| init_particle_creator | mus_particle_creator_module | Subroutine | |
| init_particle_creator_from_blob | mus_particle_creator_module | Subroutine | Routine to initialize the particle creator object from a particle blob cylinder object Check if particles should be initialized to the local fluid velocity. |
| init_particle_creator_from_blob_prism | mus_particle_creator_module | Subroutine | Routine to initialize the particle creator object from a particle blob prism object Check if particles should be initialized to the local fluid velocity. |
| init_particle_interpolator | mus_particle_interpolation_module | Subroutine | |
| init_particle_logger | mus_particle_logging_type_module | Subroutine | |
| init_qVals | mus_bc_general_module | Subroutine | assign qVal to corresponding BC and level-wise if qVal not provided by seeder. qVal from seeder are assigned in assignBCList in mus_construction_module, So set qVal from config only when it is not provided by seeder. |
| init_recvBuffers | mus_construction_module | Subroutine | Create the communication buffers |
| init_sendBuffers | mus_construction_module | Subroutine | Create the communication buffers |
| init_transformation_matrix_fluid | mus_moments_module | Subroutine | Initialize Moments transformation matrix for LBM compressible and incompressible fluid model. This matrix must be consistent with the relaxation matrix used in compute kernel and interpolation routines |
| init_transformation_matrix_MS | mus_moments_module | Subroutine | Intialize the moment transformation matrix for multispecies. This matrix must be consistent with relaxation matrix used for multispecies MRT collision routines |
| initParticle_DPS | mus_particle_DPS_module | Subroutine | initParticle_DPS performs the initialization of a DPS particle once it has been created. This consists of determining the coordinates of particle origin and determining which processes this particle exists on. |
| initParticle_MEM | mus_particle_MEM_module | Subroutine | Routine to initialize a newly created MEM particle |
| initParticleLog_DPS | mus_particle_logging_module | Subroutine | Routine to initialize DPS particle log file (e.g. print header) |
| initParticleLog_MEM | mus_particle_logging_module | Subroutine | Routine to initialize MEM particle log file (e.g. print header) |
| inlet_nrbc | mus_bc_fluid_module | Subroutine | Characteristic-based non-reflective inlet boundary conditions |
| inlet_nrbc_incomp | mus_bc_fluid_module | Subroutine | Characteristic-based non-reflective inlet boundary conditions for incompressible flows |
| inlet_pasScal | mus_bc_passiveScalar_module | Subroutine | Inlet boundary conditions for passive scalar transport (Flekkoy). |
| interpolate_dump | mus_interpolate_header_module | Subroutine | Dump interpolation method to logUnit |
| interpolateFluidProperties_DPS | mus_particle_DPS_module | Subroutine | Main control routine which interpolates and stores the fluid properties at the particle locations |
| interpolateFluidProps | mus_particle_DPS_module | Subroutine | Interpolate the fluid properties to a point xp |
| interpolateFluidProps_onewaycoupled | mus_particle_DPS_module | Subroutine | Interpolate the fluid properties to a point xp |
| interpolateFluidProps_onewaycoupled_old | mus_particle_DPS_module | Subroutine | |
| intp1d_linear | mus_particle_interpolation_module | Function | |
| intp_1D_delta | mus_particle_interpolation_module | Function | 1D discrete delta interpolation function. Used to interpolate the fluid property of a lattice cell with barycenter xf to the position of a particle xp. |
| intp_1D_peskin | mus_particle_interpolation_module | Function | 1D discrete delta interpolation function according to Peskin. Used to interpolate the fluid property of a lattice cell with barycenter xf to the position of a particle xp. Note that this function has a support of 2*dx so requires both neighbor and next-neighbor for interpolation |
| isLocalCollision | mus_particle_interactions_module | Interface | |
| isLocalCollision_DPS | mus_particle_interactions_module | Function | isLocalCollision checks if collision between two particles is local This is the case when they are both owned by this process |
| isLocalCollision_MEM | mus_particle_interactions_module | Function | isLocalCollision checks if collision between two particles is local This is the case when they are both owned by this process |
| kpc_i_bg | mus_compute_cumulant_module | Function | Back to central moment This follows equations 57-59 in cumulent paper (Geier .et al 2017) |
| kpc_ij_g | mus_compute_cumulant_module | Function | Back to central moment This follows equations 60-62 in cumulent paper (Geier .et al 2017) |
| kpc_ijk | mus_compute_cumulant_module | Function | Back to central moment This follows equations 63-65 in cumulent paper (Geier .et al 2017) |
| kum_abg | mus_compute_cumulant_module | Function | Calculating central moment This follows equations 12-14 in cumulent paper (Geier .et al 2017) |
| kum_i_bg | mus_compute_cumulant_module | Function | Calculating central moment This follows equations 9-11 in cumulent paper (Geier .et al 2017) |
| kum_ij_g | mus_compute_cumulant_module | Function | Calculating central moment This follows equations 6-8 in cumulent paper (Geier .et al 2017) |
| load_iterativeMethod | mus_turb_wallFunc_module | Subroutine | Load the iterativeMethod to use in the turbulent wall model from the user configuration. |
| load_particle_dps_creator_data | mus_particle_config_module | Subroutine | |
| load_particle_dps_data | mus_particle_config_module | Subroutine | |
| load_particle_mem_creator_data | mus_particle_config_module | Subroutine | |
| load_particle_mem_data | mus_particle_config_module | Subroutine | |
| load_relaxation_header | mus_scheme_header_module | Subroutine | Load relaxation options from a table |
| load_turbChanForce | mus_source_type_module | Subroutine | Load shape, bulk velocity and height for turbulent channel force |
| load_wall_function | mus_turb_wallFunc_module | Subroutine | Load the iterativeMethod to use in the turbulent wall model from the user configuration. |
| logParticleData | mus_particle_logging_module | Interface | |
| logParticleData_DPS | mus_particle_logging_module | Subroutine | Routine to log DPS particle data |
| logParticleData_MEM | mus_particle_logging_module | Subroutine | Routine to log MEM particle data |
| make_pdf_tiny | mus_particle_MEM_module | Subroutine | make_pdf_tiny sets the state vector (particle distribution function) values to some tiny value. This is done for visualization purposes. It has no effect on the flow as the particle elements do not participate in the stream-and-collide process. |
| map_to_bin | mus_particle_blob_module | Subroutine | |
| mapParticlesToLattice_DPS | mus_particle_DPS_module | Subroutine | Main control routine which maps each DPS particle to the lattice |
| mapToLattice | mus_particle_MEM_module | Subroutine | mapToLattice is the high-level routine performs a full re-mapping each time step |
| mapToLattice_DPS | mus_particle_DPS_module | Subroutine | Routine to map particles to the lattice (update coordinate of the origin etc.) |
| mfr_bounceback | mus_bc_fluid_module | Subroutine | Inlet Velocity Bounce Back boundary condition with mass flow rate as input |
| mfr_eq | mus_bc_fluid_module | Subroutine | Inlet Velocity Equilibrium type boundary conditions with mass flow rate as input |
| modify_AuxField_of_Elem | mus_particle_DPS_module | Subroutine | Modify the auxField of an element with posInTotal in the total list |
| moleDens_neumann | mus_bc_nernstPlanck_module | Subroutine | No comment yet! |
| moleDens_neumann_curved | mus_bc_nernstPlanck_module | Subroutine | No comment yet! |
| moleDens_nonEqExpol | mus_bc_nernstPlanck_module | Subroutine | No comment yet! |
| moleDens_nonEqExpol_curved | mus_bc_nernstPlanck_module | Subroutine | No comment yet! |
| moments_inflow | mus_bc_fluid_experimental_module | Subroutine | Moment based velocity boundary condition from Sam Bennent PhD thesis "A Lattice Boltzmann Model for Diffusion of Binary Gas Mixtures" |
| moments_outflow | mus_bc_fluid_experimental_module | Subroutine | Moment based velocity boundary condition from Sam Bennent PhD thesis "A Lattice Boltzmann Model for Diffusion of Binary Gas Mixtures" |
| moments_wall | mus_bc_fluid_module | Subroutine | Moment based wall boundary condition from Sam Bennent PhD thesis "A Lattice Boltzmann Model for Diffusion of Binary Gas Mixtures" Usage |
| momentumFromMacroLSE | mus_derQuanMSLiquid_module | Function | derive untransformed pdf velocity of species by solving system of equations of nSpecies |
| momentumFromMacroLSE_WTDF | mus_derQuanMSLiquid_module | Function | derive untransformed pdf velocity of species by solving system of equations of nSpecies |
| mrt_advRel_d3q19f3_MSLiquid | mus_MSLiquid_module | Subroutine | Optimized Advection relaxation routine for the multispecies mrt model for d3q19 with 3 species |
| mrt_advRel_d3q19f3_MSLiquid_WTDF | mus_MSLiquid_module | Subroutine | Optimized Advection relaxation routine for the multispecies mrt model for d3q19 with 3 species with thermodynamic factor |
| mrt_advRel_MSLiquid_generic | mus_MSLiquid_module | Subroutine | Unoptimized Advection relaxation routine for the multispecies BGK model |
| mrt_advRel_MSLiquid_generic_WTDF | mus_MSLiquid_module | Subroutine | Unoptimized Advection relaxation routine for the multispecies BGK model with thermodynamic factors in Maxwell-Stefan formulation |
| mrt_bgk | mus_mrtRelaxation_module | Function | set all relaxation parameter to same omega, results in bgk collision |
| mrt_d2q9 | mus_mrtRelaxation_module | Function | This function returns mrt relaxation diagonal matrix for d2q9 layout Parameters are taken from: Lallemand, P., & Luo, L. (2000). Theory of the lattice boltzmann method: dispersion, dissipation, isotropy, galilean invariance, and stability. Physical Review. E, Statistical Physics, Plasmas, Fluids, and Related Interdisciplinary Topics, 61(6 Pt A), 6546–62. |
| mrt_d2q9_incomp | mus_mrtRelaxation_module | Function | This function returns mrt relaxation diagonal matrix for d2q9 layout Parameters are taken from: Lallemand, P., & Luo, L. (2000). Theory of the lattice boltzmann method: dispersion, dissipation, isotropy, galilean invariance, and stability. Physical Review. E, Statistical Physics, Plasmas, Fluids, and Related Interdisciplinary Topics, 61(6 Pt A), 6546–62. |
| mrt_d3q15 | mus_mrtRelaxation_module | Function | This function returns mrt relaxation diagonal matrix for d3q15 layout Parameters are taken from: D’Humières, D., Ginzburg, I., Krafczyk, M., Lallemand, P., & Luo, L.-S. (2002). Multiple-relaxation-time lattice Boltzmann models in three dimensions. Philosophical Transactions. Series A, Mathematical, Physical, and Engineering Sciences, 360(1792), 437–51. |
| mrt_d3q19 | mus_mrtRelaxation_module | Function | This function returns mrt relaxation diagonal matrix for d3q19 layout Parameters are taken from: D’Humières, D., Ginzburg, I., Krafczyk, M., Lallemand, P., & Luo, L.-S. (2002). Multiple-relaxation-time lattice Boltzmann models in three dimensions. Philosophical Transactions. Series A, Mathematical, Physical, and Engineering Sciences, 360(1792), 437–51. |
| mrt_d3q27 | mus_mrtRelaxation_module | Function | This function returns mrt relaxation diagonal matrix for d3q27 layout |
| mus_abortCriteria_load | mus_abortCriteria_module | Subroutine | Loading Musubi specific abort criteria from the |
| mus_access_auxFieldVar_forElement | mus_auxFieldVar_module | Subroutine | Return the solver aux variable for a given set of elements |
| mus_access_state_forElement | mus_stateVar_module | Subroutine | Return the solver state variable for a given set of elements |
| mus_access_stateFetch_forElement | mus_stateVar_module | Subroutine | Return the solver state variable for a given set of elements by using FETCH macro for nNext |
| mus_access_stateFetch_now_forElement | mus_stateVar_module | Subroutine | Return the solver state variable for a given set of elements by using FETCH macro for nNow |
| mus_accessVar_setupIndices | mus_stateVar_module | Subroutine | This routine takes points coordinates, stores them in the method_data and return indices where points are located in the growing array of points or values ( sometimes we do not need to store the points ) It is need to setup points for every variable. Points will be provided by boundaries or sources depends on what uses the variable. This points do not change with time . This indices will be stored in corresponding boundary or source to evaluate a value on that point later using tem_varSys_proc_getValOfIndex. |
| mus_adapt_refine | mus_mesh_adaptation_module | Subroutine | Wrap up the routines required for dynamic load balancing |
| mus_add_BcghostElem | mus_construction_module | Subroutine | |
| mus_add_internal_source_var | mus_source_var_module | Subroutine | Routine load musubi source terms for given key. key is glob_source or source |
| mus_addBrinkmanToAuxField_fluidIncomp | mus_auxFieldVar_module | Subroutine | This routine adds Brinkman (porous-media) damping to the velocity stored in the auxField for the incompressible fluid model. Reference: 1) Zhaoli Guo and T. S. Zhao. “Lattice Boltzmann Model for Incompressible Flows through Porous Media”. In: Physical Review E 66.3 (2002), p. 036304. doi: 10.1103/PhysRevE.66.036304. 2) Irina Ginzburg. “Consistent lattice Boltzmann schemes for the Brinkman model of porous flow and infinite Chapman-Enskog expansion”. In: Phys. Rev. E 77 (6 June 2008), p. 066704. doi: 10.1103/PhysRevE.77.066704. |
| mus_addDynSponFldToAuxField_fluid | mus_auxFieldVar_module | Subroutine | This routine add sponge density and velocity field to density and velocity in auxField. Density and velocity in far field are computed by time average. |
| mus_addElectricToAuxField_MSL | mus_auxFieldVar_module | Subroutine | This routine add electric force to momentum in auxField for multispecies liquid model Refer to Appendix in PhD Thesis of K. Masilamani "Coupled Simulation Framework to Simulate Electrodialysis Process for Seawater Desalination" |
| mus_addElectricToAuxField_MSL_WTDF | mus_auxFieldVar_module | Subroutine | This routine add electric force to momentum in auxField for multispecies liquid model with thermodynamic factor Refer to Appendix in PhD Thesis of K. Masilamani "Coupled Simulation Framework to Simulate Electrodialysis Process for Seawater Desalination" |
| mus_addForceToAuxField_fluid | mus_auxFieldVar_module | Subroutine | This routine add body force to velocity in auxField for weakly-compressible model. |
| mus_addForceToAuxField_fluid_GNS | mus_auxFieldVar_module | Subroutine | This routine add body force to velocity in auxField for weakly-compressible model for the Generalized Navier Stokes equations (GNS) for coupled LBM-DEM simulations. |
| mus_addForceToAuxField_fluidIncomp | mus_auxFieldVar_module | Subroutine | This routine add force to velocity in auxField for incompressible model |
| mus_addForceToAuxField_MSL | mus_auxFieldVar_module | Subroutine | This routine add body force to momentum in auxField for multispecies liquid model Refer to Appendix in PhD Thesis of K. Masilamani "Coupled Simulation Framework to Simulate Electrodialysis Process for Seawater Desalination" |
| mus_addForceToAuxField_MSL_WTDF | mus_auxFieldVar_module | Subroutine | This routine add body force to momentum in auxField for multispecies liquid model with thermodynamic factor Refer to Appendix in PhD Thesis of K. Masilamani "Coupled Simulation Framework to Simulate Electrodialysis Process for Seawater Desalination" |
| mus_addHRRCorrToAuxField_fluid_2D | mus_auxFieldVar_module | Subroutine | This routine add sponge density and velocity field to density and velocity in auxField. Density and velocity in far field are computed by time average. |
| mus_addHRRCorrToAuxField_fluid_3D | mus_auxFieldVar_module | Subroutine | This routine add sponge density and velocity field to density and velocity in auxField. Density and velocity in far field are computed by time average. |
| mus_addSponFldToAuxField_fluid | mus_auxFieldVar_module | Subroutine | This routine add sponge density and velocity field to density and velocity in auxField for weakly-compressible model. Reference: Jacob, J.; Sagaut, P. (2019): Solid wall and open boundary conditions in hybrid recursive regularized lattice Boltzmann method for compressible flows. In Physics of Fluids 31 (12), p. 126103. |
| mus_addSrcToAuxField_dummy | mus_source_type_module | Subroutine | Dummy routine for add source to auxField |
| mus_addSrcToAuxField_poisson | mus_auxFieldVar_module | Subroutine | This routine add source term with charge density in the Poisson equation to the potential. Refer to Appendix in PhD Thesis of K. Masilamani "Coupled Simulation Framework to Simulate Electrodialysis Process for Seawater Desalination" |
| mus_addTurbChanForceToAuxField_fluid | mus_auxFieldVar_module | Subroutine | This routine add dynamic force to velocity in auxField for weakly-compressible model for turbulent channel test case. Force definition: Force = rhou_tau^2/H + rho(u_bulk_ref-uX_bulk_avg)*u_bulk_ref/H Reference: 1) https://www.wias-berlin.de/people/john/ELECTRONIC_PAPERS/JR07.IJNMF.pdf 2) Haussmann, Marc; BARRETO, Alejandro CLARO; KOUYI, Gislain LIPEME; Rivière, Nicolas; Nirschl, Hermann; Krause, Mathias J. (2019): Large-eddy simulation coupled with wall models for turbulent channel flows at high Reynolds numbers with a lattice Boltzmann method — Application to Coriolis mass flowmeter. In Computers & Mathematics with Applications 78 (10), pp. 3285–3302. DOI: 10.1016/j.camwa.2019.04.033. |
| mus_advRel_kCFD_rBGK_vStd_lD3Q27 | mus_d3q27_module | Subroutine | Advection relaxation routine for the D3Q27 model with BGK with standard equilibrium function |
| mus_advRel_kCFD_rBGK_vStdNoOpt_l | mus_bgk_module | Subroutine | Advection relaxation routine for the BGK model with an explicit calculation of all equilibrium quantities. Slow and simple. This routine should only be used for testing purposes |
| mus_advRel_kCFD_rMRT_vStdNoOpt_l | mus_mrt_d3q19_module | Subroutine | Unoptimized explicit implementation |
| mus_advRel_kCFD_rMRT_vStdNoOpt_lD3Q27 | mus_mrt_d3q27_module | Subroutine | Unoptimized explicit implementation |
| mus_advRel_kFluid_rBGK_vBlock_lD3Q19 | mus_d3q19_module | Subroutine | No comment yet! |
| mus_advRel_kFluid_rBGK_vImproved_lD2Q9 | mus_d2q9_module | Subroutine | Improved BGK model (with Galilean correction term) taken from Martin Geier cumulent paper 2015 Geier, M., Schönherr, M., Pasquali, A., & Krafczyk, M. (2015). The cumulant lattice Boltzmann equation in three dimensions : Theory and validation. Computers and Mathematics with Applications. |
| mus_advRel_kFluid_rBGK_vImproved_lD3Q27 | mus_d3q27_module | Subroutine | Improved BGK model (with Galilean correction term) taken from Martin Geier cumulent paper 2015 Geier, M., Schönherr, M., Pasquali, A., & Krafczyk, M. (2015). The cumulant lattice Boltzmann equation in three dimensions : Theory and validation. Computers and Mathematics with Applications. |
| mus_advRel_kFluid_rBGK_vStd_lD2Q9 | mus_d2q9_module | Subroutine | No comment yet! |
| mus_advRel_kFluid_rBGK_vStd_lD3Q19 | mus_d3q19_module | Subroutine | Advection relaxation routine for the D3Q19 model with BGK. |
| mus_advRel_kFluid_rMRT_vStd_lD2Q9 | mus_d2q9_module | Subroutine | Advection relaxation routine for the D2Q9 MRT model f( x+c, t+1 ) = f(x,t) - M^(-1)S( m - meq ) |
| mus_advRel_kFluid_rMRT_vStd_lD3Q19 | mus_mrt_d3q19_module | Subroutine | Advection relaxation routine for the MRT model. This routine has roughly 260 FLOPS per elements. |
| mus_advRel_kFluid_rMRT_vStd_lD3Q27 | mus_mrt_d3q27_module | Subroutine | Semi-optimized explicit implementation |
| mus_advRel_kFluid_rMRT_vStdNoOpt_lD3Q19 | mus_mrt_d3q19_module | Subroutine | No comment yet! |
| mus_advRel_kFluid_rTRT_vStd_lD3Q19 | mus_d3q19_module | Subroutine | Advection relaxation routine for the D3Q19 model with TRT collision operator In TRT, there are two relaxation parameters one can choose. They have a relationship, which is so-called magic number: Lambda = ( 1/omegaP - 1/2 ) * ( 1/omegaN - 1/2 ) Different value of Lambda results different error: Lambda = 1/4 is the best stability for the LBE. As well, this number gives the solution for the steady-state case dependant only on the equilibirium funciton. Lambda = 1/12 removes the third-order advection error Lambda = 1/6 removes fourth-order diffusion errors Lambda = 3/16 gives exact location of bounce-back walls for the Poiseuille flow. omegaP is usually fixed by viscosity, another one is fixed through the above magic number combination. |
| mus_advRel_kFluid_rTRT_vStd_lD3Q27 | mus_d3q27_module | Subroutine | No comment yet! |
| mus_advRel_kFluidGNS_rBGK_vStd_lD2Q9 | mus_d2q9_module | Subroutine | BGK relaxation routine using equilibrium distribution for simulating the Generalized Navier Stokes (GNS) aka Volume-Averaged Navier-Stokes (VANS) equations for coupled LBM-DEM simulations This subroutine interface must match the abstract interface definition kernel in scheme/mus_scheme_type_module.f90 in order to be callable via compute function pointer. |
| mus_advRel_kFluidIncomp_rBGK_vStd_lD2Q9 | mus_d2q9_module | Subroutine | No comment yet! |
| mus_advRel_kFluidIncomp_rBGK_vStd_lD3Q19 | mus_d3q19_module | Subroutine | Advection relaxation routine for the D3Q19 model with BGK for incompressible lbm model |
| mus_advRel_kFluidIncomp_rMRT_vStd_lD2Q9 | mus_d2q9_module | Subroutine | Advection relaxation routine for the D2Q9 MRT model f( x+c, t+1 ) = f(x,t) - M^(-1)S( m - meq ) |
| mus_advRel_kFluidIncomp_rMRT_vStd_lD3Q19 | mus_mrt_d3q19_module | Subroutine | Advection relaxation routine for the MRT model. This routine has roughly 205 FLOPS per element. |
| mus_advRel_kFluidIncomp_rMRT_vStd_lD3Q27 | mus_mrt_d3q27_module | Subroutine | Semi-optimized explicit implementation |
| mus_advRel_kFluidIncomp_rMRT_vStdNoOpt_lD3Q19 | mus_mrt_d3q19_module | Subroutine | No comment yet! |
| mus_advRel_kFluidIncomp_rTRT_vStd_lD3Q19 | mus_d3q19_module | Subroutine | Advection relaxation routine for the D3Q19 model with TRT collision operator. |
| mus_advRel_kFluidIncompGNS_rBGK_vStd_lD3Q19 | mus_d3q19_module | Subroutine | Advection relaxation routine for the D3Q19 model with BGK based on the !! equilibrium distribution function for the generalized Navier Stokes equations (GNS) aka Volume Averaged Navier-Stokes !! equations (VANS). feq definition from: Z. Guo and T. S. Zhao, “Lattice Boltzmann model for incompressible flows through porous media,” Phys. Rev. E, vol. 66, no. 3, p. 036304, Sep. 2002, doi: 10.1103/PhysRevE.66.036304. Incompressible version |
| mus_advRel_kPS_rBGK_v1st_l | mus_compute_passiveScalar_module | Subroutine | Advection relaxation routine for the flekkoy diffusion model. |
| mus_advRel_kPS_rBGK_v2nd_l | mus_compute_passiveScalar_module | Subroutine | Advection relaxation routine for the 2nd order diffusion model. A comparison to the previous flekkoy model can be found in Chopard, B., Falcone, J. & Latt, J. "The lattice Boltzmann advection -diffusion model revisited." Eur. Phys. J. Spec. Top. 171, 245–249 (2009). https://doi.org/10.1140/epjst/e2009-01035-5 |
| mus_advRel_kPS_rBGK_vEmodel_lD3Q19 | mus_d3q19_module | Subroutine | Advection relaxation routine based on the E-Model for the D3Q19 Lattice Boltzmann model for the generic advection and anisotropic-dispersion equation |
| mus_advRel_kPS_rBGK_vEmodelCorr_lD3Q19 | mus_d3q19_module | Subroutine | Advection relaxation routine based on the E-Model for the D3Q19 Lattice Boltzmann model for the generic advection and anisotropic-dispersion equation. The E-Model is corrected to account for the effect of numerical diffusion with the nonlinear equilibrium correction |
| mus_advRel_kPS_rMRT_vEmodelCorr_lD3Q19 | mus_d3q19_module | Subroutine | Advection relaxation routine based on the E-Model for the D3Q19 Lattice Boltzmann model for the generic advection and anisotropic-dispersion equation. The E-Model is corrected to account for the effect of numerical diffusion with the nonlinear equilibrium correction |
| mus_advRel_kPS_rTRT_vEmodel_lD3Q19 | mus_d3q19_module | Subroutine | Advection relaxation routine based on the E-Model for the D3Q19 Lattice Boltzmann model for the generic advection and anisotropic-dispersion equation |
| mus_advRel_kPS_rTRT_vEmodelCorr_lD3Q19 | mus_d3q19_module | Subroutine | Advection relaxation routine based on the E-Model for the D3Q19 Lattice Boltzmann model for the generic advection and anisotropic-dispersion equation. The E-Model is corrected to account for the effect of numerical diffusion with the nonlinear equilibrium correction |
| mus_advRel_kPS_rTRT_vLmodel_lD3Q19 | mus_d3q19_module | Subroutine | Advection relaxation routine based on the L-Model for the D3Q19 Lattice Boltzmann model for the generic advection and anisotropic-dispersion equation. |
| mus_advRel_kPS_rTRT_vStdNoOpt_l | mus_compute_passiveScalar_module | Subroutine | Advection relaxation routine for the TRT diffusion model. |
| mus_alloc_bouzidi | mus_bc_header_module | Subroutine | |
| mus_alloc_fieldBC | mus_bc_header_module | Subroutine | |
| mus_append_auxField | mus_variable_module | Subroutine | Append auxiliary variables which are computed from state and stored in auxField array using calcAuxField function |
| mus_append_bcVar | mus_bc_var_module | Subroutine | This routine adds boundary variables for tracking |
| mus_append_derLiquidMixVar | mus_derQuanMSLiquid_module | Subroutine | Append mixture variables for multicomponent liquid models |
| mus_append_derMixVar_MS | mus_derQuanMSLiquid_module | Subroutine | Append mixture variables for multicomponent models |
| mus_append_derVar_fluid | mus_derQuan_module | Subroutine | subroutine to add derive variables for weakly compressible LBM (schemekind = 'fluid') to the varsys. |
| mus_append_derVar_fluidIncomp | mus_derQuanIncomp_module | Subroutine | subroutine to add derive variables for incompressible LBM (schemekind = 'fluid_incompressible') to the varsys. |
| mus_append_derVar_isotherm_acEq | mus_derQuanIsothermAcEq_module | Subroutine | subroutine to add derive variables for isothermal acoustic equations (schemekind = 'isotherm_acEq') to the varsys. |
| mus_append_derVar_lbmPS | mus_derQuanPS_module | Subroutine | subroutine to add derive variables for weakly compressible LBM (schemekind = 'passive_scalar') to the varsys. for passive scalar contains only one derive variable: density |
| mus_append_derVar_MSGas | mus_derQuanMSGas_module | Subroutine | subroutine to add derive variables for multispecies-liquid (schemekind = 'multispecies_gas') to the varsys. |
| mus_append_derVar_MSLiquid | mus_derQuanMSLiquid_module | Subroutine | subroutine to add derive variables for multispecies-liquid (schemekind = 'multispecies_liquid') to the varsys. |
| mus_append_derVar_physics | mus_derQuanPhysics_module | Subroutine | subroutine to add derive variables for weakly compressible LBM (schemekind = 'lbm') to the varsys. |
| mus_append_derVar_poisson | mus_derQuanPoisson_module | Subroutine | subroutine to add derive variables for weakly compressible PB (schemekind = 'poisson') to the varsys. A Coupled Lattice Boltzmann Method to Solve Nernst-Planck Model for Simulating Electro-Osmotic flows author> Xuguang yang |
| mus_append_materialVar | mus_material_var_module | Subroutine | subroutine to add material variable |
| mus_append_readVarAsStateVar | mus_variable_module | Subroutine | Append variable read from restart file as state variables |
| mus_append_sourceVar | mus_variable_module | Subroutine | Build a variable system of all possible source terms for the given schemeKind |
| mus_append_stateVar | mus_variable_module | Subroutine | Append state variable depends on the scheme kind |
| mus_append_turbVar | mus_turbulence_var_module | Subroutine | subroutine to add variables for turbulence model |
| mus_apply_sourceTerms | mus_source_module | Subroutine | Apply all source terms i.e field specific source and global source on all fields. |
| mus_applyForce_X | mus_IBM_module | Subroutine | This subroutine applies the force calculated to the eulerian elements. |
| mus_applySrc_dummy | mus_source_type_module | Subroutine | Dummy routine for apply source |
| mus_assign_calcAuxField_ptr | mus_auxFieldVar_module | Subroutine | This routine assign function pointer to compute auxField var |
| mus_assign_derived_functions_ptr | mus_scheme_derived_quantities_module | Function | This function assigns the pointers for the respective derived function in |
| mus_assign_GradCalculation_ptr | mus_gradData_module | Function | This function returns function pointer of nonEquilibrium scaling for interpolation according to scheme definition |
| mus_assign_mrt_ptr | mus_mrtRelaxation_module | Subroutine | This function returns mrt function pointer according to scheme definition. In Jonas Toelke paper (2006) about MRT, the following notions are used:\n s(a) = s(2) s(b) = s(3) s(c) = s(5) = s(7) = s(9) s(d) = s(11) = s(13 s(e) = s(17) = s(18) = s(19) s(w) = s(10) = s(12) = s(14) = s(15) = s(16) It is suggested that, for D3Q19, s(a) = s(b) = s(c) = s(d) = s(e) = max( s(w), -1.0 ) Notice that the collision matrix S used in this papar corresponds to -omega in BGK model, because it express the LB equation is slightly different way. |
| mus_assign_nNwtnVisc_ptr | mus_nonNewtonian_module | Subroutine | This routine assigns function pointer to compute non-Newtonian viscosity |
| mus_assign_turbVisc_ptr | mus_turb_viscosity_module | Subroutine | This routine assigns function pointer to compute turbulence viscosity based on turbulence model and scheme header definition |
| mus_auxFieldVar_forPoint | mus_auxFieldVar_module | Subroutine | Auxilary field variable for a given set of points using linear interpolation. Unlike mus_deriveVar_forPoint which does not consider ghost and halo elements, this routine considers them because auxField vars on ghost elements are interpolated and halo elements are exchanged. The interface has to comply to the abstract interface tem_varSys_proc_point. |
| mus_auxFieldVar_fromIndex | mus_auxFieldVar_module | Subroutine | Routine to get the actual value for a given array of indices. The indices belong to the grwarray of points storing levelwise in Pointdata%pntLvl(iLevel). Hence this routines takes the indeices as input, can refer to the pointData and evaluate the variable and returns the values |
| mus_balance | mus_dynLoadBal_module | Subroutine | This routine performs the load balancing for multilevel simulations. The weights are calculated on the basis of levelwise run time, which are then fed to sparta for calculation of splitting positions. Restart files are saved and the simulation is restarted with the newly distributed mesh |
| mus_banner | mus_aux_module | Subroutine | Initialize musubi solverHead and print musubi banner to screen |
| mus_BC_timing | mus_tools_module | Subroutine | Output the min and max time across all ranks, which are spent on each boundary condition. |
| mus_build_BCStencils | mus_construction_module | Subroutine | subroutine to find neighbours of element with individual (for each element) stencil definitions. Unique stencil label for boundary stencils are created with boundary label and stencil%cxDir therefore each stencil is limited to one boundary type |
| mus_build_IBMStencils | mus_construction_module | Subroutine | This routine build and append IBM stencils to scheme stencil array |
| mus_build_minBcID | mus_geom_module | Subroutine | This routine build minBcID for boundary elements, it is required if a element has more than one boundary in its directions. if a element has more than one boundary then use minBcID which depends on boundary order in seeder configuration |
| mus_build_posInProp | mus_geom_module | Subroutine | This routine builds mapping between elements in tree to to propery list |
| mus_build_varSys | mus_variable_module | Subroutine | Build global variable system for Musubi |
| mus_buildBuffIBM | mus_IBM_module | Subroutine | |
| mus_calc_commAmount | mus_statistics_module | Subroutine | Calculate the number of links to be communicated |
| mus_calc_MS_DiffMatrix | mus_eNRTL_module | Interface | |
| mus_calc_MS_DiffMatrix | mus_eNRTL_module | Interface | |
| mus_calc_MS_DiffMatrix_single | mus_eNRTL_module | Subroutine | This routine calculates Diffusivity coefficients matrix for given mole_frac of all species for single element |
| mus_calc_MS_DiffMatrix_single | mus_eNRTL_module | Subroutine | Dummy routine which sets diffusivity coeff matrix to diagonal matrix |
| mus_calc_nElems | mus_pdf_module | Subroutine | Compute nElems for different types |
| mus_calc_thermFactor | mus_eNRTL_module | Interface | |
| mus_calc_thermFactor | mus_eNRTL_module | Interface | |
| mus_calc_thermFactor_single | mus_eNRTL_module | Subroutine | This routine calculates thermodynamic factor for given mole_frac of all species for single element |
| mus_calc_thermFactor_single | mus_eNRTL_module | Subroutine | Dummy routine which sets thermodynamic factor matrix to diagonal matrix |
| mus_calcAuxField_dummy | mus_auxFieldVar_module | Subroutine | Dummy routine for calcAuxField |
| mus_calcAuxField_fluid | mus_auxFieldVar_module | Subroutine | This routine compute auxFields density and velocity for compressible model for fluid and nGhostFromCoarser elements |
| mus_calcAuxField_fluid_d2q9 | mus_auxFieldVar_module | Subroutine | This routine compute auxFields density and velocity for compressible d2q9 model for fluid and nGhostFromCoarser elements |
| mus_calcAuxField_fluid_d3q19 | mus_auxFieldVar_module | Subroutine | This routine compute auxFields density and velocity for compressible d3q19 model for fluid and nGhostFromCoarser elements |
| mus_calcAuxField_fluid_d3q27 | mus_auxFieldVar_module | Subroutine | This routine compute auxFields density and velocity for compressible d3q27 model for fluid and nGhostFromCoarser elements |
| mus_calcAuxField_MS | mus_auxFieldVar_module | Subroutine | This routine compute auxField density and momentum for each species for multicomponent models. The momentum computed here is only momentum of transformed PDF. The momentum of original PDF is computed by solving linear equation system in compute kernel and the momentum in auxField is updated there. |
| mus_calcAuxField_nernst_planck | mus_auxFieldVar_module | Subroutine | This routine compute zeroth moment (mole density) from state for each species and store in auxField. |
| mus_calcAuxField_zerothMoment | mus_auxFieldVar_module | Subroutine | This routine compute zeroth moment from state and store in auxField. use this routine only for models which requires only zeroth-order moment as auxField |
| mus_calcAuxFieldAndExchange | mus_auxField_module | Subroutine | This routine compute auxField variable from pre-collision pdf and exchange halos |
| mus_calcBndForce | mus_bndForce_module | Subroutine | This routine computes force on boundary elements which are used to compute lift and drag coefficient on boundary |
| mus_calcBndForce_dummy | mus_bndForce_module | Subroutine | Dummy routine for calcBndForce |
| mus_calcBndForce_turbWall | mus_bndForce_module | Subroutine | This routine access bndForce from turbulent wall function boundary elements |
| mus_calcBndForce_wall | mus_bndForce_module | Subroutine | This routine computes bndForce on wall boundary elements |
| mus_calcBndForce_wall_libb | mus_bndForce_module | Subroutine | This routine computes bndForce on wall_libb boundary elements |
| mus_calcForce_X | mus_IBM_module | Subroutine | This subroutine fills the force array for the X (neighbors). (Inamuro paper: step 1, fill g_l(X)) |
| mus_calcOmegaFromVisc | mus_relaxationParam_module | Function | This function compute relaxation paramter omega from viscosity |
| mus_calculate_speed_of_sound | mus_scheme_layout_module | Function | Calculate lattice speed of sound for given stencil |
| mus_check_allWall | mus_field_module | Function | Check if a BC is wall or symmetry for all fields |
| mus_check_omegaKine | mus_relaxationParam_module | Subroutine | This routine checks whether omega is within the stability limit. If not it will terminate the simulation with error message. Using limits given in Tölke, J., Freudiger, S., & Krafczyk, M. (2006). An adaptive scheme using hierarchical grids for lattice Boltzmann multi-phase flow simulations. Computers & Fluids, 35(8–9), 820–830. For BGK: 2/3 < omega < 1.976 For MRT: 2/3 < omega < 1.999 |
| mus_construct | mus_construction_module | Subroutine | Initialize Musubi data strucutres based on data provided by Treelm |
| mus_construct_connectivity | mus_connectivity_module | Subroutine | Construct the propagation list for each element of 1st field. |
| mus_corrForce_Xk | mus_IBM_module | Subroutine | |
| mus_corrVel_X | mus_IBM_module | Subroutine | This subroutine corrects the velocity values according to the force on X (neighbors). (Inamuro paper: step 2, correct u_l(X)) |
| mus_create_funcStr | mus_physics_module | Subroutine | This routine creates musubi specific lua function to compute dx and dt. |
| mus_create_poss_srcVar | mus_source_type_module | Subroutine | Routine initialize possible source variable depends on scheme kind |
| mus_create_poss_transVar | mus_transport_var_module | Subroutine | Routine initialize possible transport variable depends on scheme kind |
| mus_createSrcElemInTreeForGetPoint | mus_varSys_module | Subroutine | This routine creates srcElemInTree in pointData. It is called all in getPoint routine when first time the get point routine in called. |
| mus_define_d1q3 | mus_scheme_layout_module | Subroutine | This subroutine sets the parameters for the predefined d2q9 stencil. |
| mus_define_d2q5 | mus_scheme_layout_module | Subroutine | This subroutine sets the parameters for the predefined d2q5 stencil. |
| mus_define_d2q9 | mus_scheme_layout_module | Subroutine | This subroutine sets the parameters for the predefined d2q9 stencil. |
| mus_define_d3q13 | mus_scheme_layout_module | Subroutine | This subroutine sets the parameters for the predefined d3q13 stencil. |
| mus_define_d3q19 | mus_scheme_layout_module | Subroutine | This subroutine sets the parameters for the predefined d3q19 stencil. |
| mus_define_d3q27 | mus_scheme_layout_module | Subroutine | This subroutine sets the parameters for the predefined d3q27 stencil. |
| mus_define_d3q6 | mus_scheme_layout_module | Subroutine | This subroutine sets the parameters for the predefined d3q6 layout%fStencil, used by the Flekkoy model of passive scalar transport. |
| mus_define_d3q7 | mus_scheme_layout_module | Subroutine | This subroutine sets the parameters for the predefined d3q7 stencil. |
| mus_define_layout | mus_scheme_layout_module | Subroutine | This routine defines layout for predefined stencils |
| mus_derEquilIsothermAcEq | mus_derQuanIsothermAcEq_module | Subroutine | Calculate the equlibrium of given elements with the given input state array. |
| mus_derive_FromMacro_dummy | mus_derVarPos_module | Subroutine | |
| mus_derive_FromPreColState_dummy | mus_derVarPos_module | Subroutine | |
| mus_derive_FromState_dummy | mus_derVarPos_module | Subroutine | |
| mus_derivedensity | mus_derQuan_module | Subroutine | Calculate the density of a given set of elements (sum up all links). This routine is used to compute density for all scheme kinds For multispecies, it can compute both species density and mixture density |
| mus_deriveElectricField | mus_derQuanPoisson_module | Subroutine | Calculate the electric_field of a given pre-collision pdfs i.e fetch_pdf_now |
| mus_deriveEquil | mus_derQuan_module | Subroutine | Calculate the equlibrium of given elements with the given input state array. |
| mus_deriveMoleDensity | mus_derQuanNernstPlanck_module | Subroutine | Calculate the potential of a given set of pdfs of elements |
| mus_deriveMoment | mus_derQuan_module | Subroutine | For 2D only! |
| mus_deriveNonEquil | mus_derQuan_module | Subroutine | Calculate the Non-Equlibrium |
| mus_deriveStrainRate | mus_derQuan_module | Subroutine | Calculate the strain rate ( or rate of strain, or rate of deformation) |
| mus_deriveVar_forPoint | mus_varSys_module | Subroutine | Derive variable for a given set of points using linear interpolation. This is a generic routine for any variable. Limitation: If neighbor is halo element then its not considered for interpolation, only the fluid (non-ghost) elements in the local process are used for interpolation. |
| mus_derVar_intpOnPoint | mus_varSys_module | Subroutine | |
| mus_derVelocityIsothermAcEq | mus_derQuanIsothermAcEq_module | Subroutine | Calculate the velocity of a given element number with the given input vector (sum up all values) |
| mus_destroy_stencil | mus_scheme_layout_module | Subroutine | Destroy the stencil |
| mus_dump_levelDescIntp_nElems | mus_interpolate_module | Subroutine | This routine dumps global nElems in intpFromCoarser, intpFromFiner, sourcesFromCoarser ans sourcesFromFiner |
| mus_dump_moments | mus_moments_module | Subroutine | Dump moments matrix: toPDF and toMoment |
| mus_dumpData | mus_aux_module | Subroutine | This routine dumps tracking and restart when timeControl is active |
| mus_dumpWeights | mus_weights_module | Subroutine | Dump weights to a file. |
| mus_field_cleanup | mus_field_module | Subroutine | This routines act as a destructor for field type. Only allocatable arrays which are allocated in mus_construct routine are deallocated. KM: DO NOT DESTROY FIELD ARRAY AS IT CONTAINS ALL CONFIG INFO |
| mus_field_getSymmetricBCs | mus_field_module | Subroutine | This routine checks for the existence of symmetric boundaries and returns the boundary IDs which are defined as symmetry |
| mus_field_out_scal | mus_field_module | Subroutine | write single field into a lua file |
| mus_field_prop_out | mus_field_prop_module | Subroutine | write field prop into a lua file |
| mus_fieldBC_cleanup | mus_bc_header_module | Subroutine | This routines deallocates allocatables in field%bc boundary_type for dynamic load balancing |
| mus_fields_out | mus_field_module | Interface | Interface for dumping a single field or a set of fields in a file in lua format. |
| mus_fields_out_vec | mus_field_module | Subroutine | write array of fields into a lua file |
| mus_fillNeigh_surfData | mus_IBM_module | Subroutine | This routine builds the neighbor lists for Xk -> x (neigh_Xk) and x->Xk (neigh_x) as well as the send and receive buffers for the eulerian elements. |
| mus_finalize | mus_program_module | Subroutine | Do final check on check on total density, Close auxiliary stuff such as restart and the tracker, finalize treelm, dump timing and finialize mpi with fin_env |
| mus_finalize_layout | mus_scheme_layout_module | Subroutine | This routine finialize grwStencil by truncating stencil elem arrays and set stencil%nElems |
| mus_finalize_particleGroup | mus_particle_config_module | Subroutine | |
| mus_finishIBM | mus_IBM_module | Subroutine | This routine dumps the timings%timedat to disc |
| mus_fluid_cleanup | mus_fluid_module | Subroutine | This routines act as a destructor for fluid type |
| mus_fluid_dump | mus_fluid_module | Subroutine | |
| mus_fluid_save2lua | mus_fluid_module | Subroutine | write fluid prop into a lua file |
| mus_free_IBMData | mus_IBM_module | Subroutine | This routine frees all temporary variables and destroys growing arrays as well as the communicators. |
| mus_generic_fromPDF_forElement | mus_varSys_module | Subroutine | This routine prepares the data for variable derivation or operators. It gathers all input variables from the variable system, calls the function with the actual calculation. |
| mus_generic_varFromPDF_fromIndex | mus_varSys_module | Subroutine | Routine to get the actual value for a given array of indices for musubi derive variables The indices belong to the grwarray of points storing levelwise in Pointdata%pntLvl(iLevel). Hence this routines takes the indeices as input, can refer to the pointData and evaluate the variable and returns the values |
| mus_geomIncr | mus_geomIncr_module | Subroutine | This subroutine checks for various conditions defined in the geomIncr table within the lua file, calculates the requested macroscpoic variables and then compares them against the specified threshold. Accordingly then solidification or fluidification of elements is performed. |
| mus_geomIncrHead_load | mus_geomIncrHead_module | Subroutine | Read all the necessary information for the geometry increase from the lua config file. This routine basically provides as a wrapper to the routine which reads single values |
| mus_geomIncrHead_load_single | mus_geomIncrHead_module | Subroutine | Reads various parameters from the lua file defined for geometry increase This routine reads single values and is wrapped around in another function where it is called multiple times as required |
| mus_get_new_solver_ptr | mus_varSys_module | Function | Routine to get a pointer to a new instance of mus_varSys_solverData_type to be used as method data for a variable in the variable system. |
| mus_get_points_fromBC | mus_bc_general_module | Subroutine | Get Surface points on boundary elements. For boundary state variable which are evaluated linkwise, extract surface points for each link and for non-link based variables project barycenter on the boundary surface. Return real coordinates on boundary surface and offset bit which encodes direction. |
| mus_get_timerHandles | mus_timer_module | Function | This function returns musubi modular variable mus_timerHandles to apesmate and deallocate mus_timerHandles level timers. |
| mus_getWeights | mus_weights_module | Subroutine | Calculate weights using timing from compute kernel, interpolation and boundary routines |
| mus_hvs_config_load | mus_hvs_config_module | Subroutine | Read in LUA parameter file See http://www.lua.org for a reference on how to use Lua is a scripting language in itself which allows more complex parameter files including comments And load / create the mesh depending on the configuration |
| mus_hvs_construct | mus_hvs_construction_module | Subroutine | Initialize Musubi data strucutres based on data provided by Treelm |
| mus_hvs_init_aux | mus_hvs_aux_module | Subroutine | Init auxiliary features such as interpolation boundaries, restart and the tracker |
| mus_hvs_load_solverData | mus_hvs_config_module | Subroutine | This routines load solver data from config file except tracking |
| mus_IBM_buildSendRecv_Xk | mus_IBM_module | Subroutine | This subroutine builds the communication types for the lagrangian elements Xk. |
| mus_IBM_commNewPos | mus_IBM_module | Subroutine | This subroutine communicates all elements which just moved from the fluids to the halo elements. |
| mus_IBM_fillRecvPos_X | mus_IBM_module | Subroutine | |
| mus_IBM_fillSendPos_X | mus_IBM_module | Subroutine | |
| mus_IBM_getSurfVel | mus_IBM_module | Subroutine | This routine calculates the surface velocity for all local xk. |
| mus_IBM_prepareSendRecv_X | mus_IBM_module | Subroutine | This subroutine prepares the send and receive buffers for the eulerian elements by copying information from the send and receive buffers for the lagrangian elements. |
| mus_IBM_setParentIDs | mus_IBM_module | Subroutine | This subroutine sets the positions of the parent IDs in the level descriptor. |
| mus_IBMFinishBuff | mus_IBM_module | Subroutine | This routine finishes the buffers for Xk and X_pdf. This is moved to a seperate routine since both buffers depend on a local communication which should be done nearby the global synchronization point (mus_exchange) |
| mus_iMomVector | mus_moments_module | Function | The integer moment vector for a given cxDir and order. |
| mus_inamuro_IBM | mus_IBM_module | Subroutine | This subroutine modifies the state vector according to the method described in the paper \a Lift generation by a two-dimensional symmetric flapping wing: immersed boundary-lattice Boltzmann simulations \a by Inamuro et al. @cite Ota:2012bx . |
| mus_inamuroIni | mus_IBM_module | Subroutine | This subroutine fills the initial force, initial velocity, predef. velocity array for the surface points Xk as well as the velocity array for the neighbors. |
| mus_init_absorbLayer | mus_absorbLayer_module | Subroutine | Initialize arrays to store time average density and velocity for dynamic absorbing layer. \todo KM: 20210301 Allocate only pressure or velocity depending on absorb_layer_inlet or absorb_layer_outlet |
| mus_init_advRel_fluid | mus_initFluid_module | Subroutine | Assigning compute kernel routine by scheme relaxation type for fluid kind. |
| mus_init_advRel_fluid_bgk | mus_initFluid_module | Subroutine | This routine assigns compute routine for bgk relaxation. |
| mus_init_advRel_fluid_GNS | mus_initFluid_module | Subroutine | Assigning compute kernel routine by scheme relaxation type for fluid GNS kind. |
| mus_init_advRel_fluid_mrt | mus_initFluid_module | Subroutine | This routine assigns compute routine for mrt relaxation |
| mus_init_advRel_fluid_trt | mus_initFluid_module | Subroutine | This routine assigns compute routine for trt relaxation |
| mus_init_advRel_fluidIncomp | mus_initFluidIncomp_module | Subroutine | Initialize the relaxation model for lbm incompressible model |
| mus_init_advRel_fluidIncomp_bgk | mus_initFluidIncomp_module | Subroutine | This routine assigns compute routine for bgk relaxation |
| mus_init_advRel_fluidIncomp_GNS | mus_initFluidIncomp_module | Subroutine | Assigning compute kernel routine by scheme relaxation type for fluid GNS kind for unresolved LBM-DEM particulate flow simulations |
| mus_init_advRel_fluidIncomp_mrt | mus_initFluidIncomp_module | Subroutine | This routine assigns compute routine for mrt relaxation |
| mus_init_advRel_isotherm_acEq | mus_initIsothermAcEq_module | Subroutine | Assigning compute kernel routine by scheme relaxation type for isotherm_acEq kind. |
| mus_init_advRel_lbm_ps | mus_initLBMPS_module | Subroutine | Initialize the relaxation model for lbm passive scalar scheme kind |
| mus_init_advRel_multispecies_gas | mus_initMultispecies_module | Subroutine | Initialize the relaxation model for multispecies gas model |
| mus_init_advRel_multispecies_liquid | mus_initMultispecies_module | Subroutine | Initialize the relaxation model for multispecies liquid model |
| mus_init_advRel_nernstPlanck | mus_initNernstPlanck_module | Subroutine | Initialize the relaxation model for lbm poisson equation |
| mus_init_advRel_PBLinear | mus_initPoisson_module | Subroutine | Initialize the relaxation model for lbm poisson equation |
| mus_init_advRel_PBnonLinear | mus_initPoisson_module | Subroutine | Initialize the relaxation model for lbm poisson equation |
| mus_init_advRel_Poisson | mus_initPoisson_module | Subroutine | Initialize the relaxation model for lbm poisson equation |
| mus_init_aux | mus_aux_module | Subroutine | Init auxiliary features such as interpolation boundaries, restart and the tracker |
| mus_init_auxFieldArrays | mus_auxField_module | Subroutine | This routine initialize auxField var val array and communication buffers |
| mus_init_bc_elems | mus_bc_header_module | Subroutine | |
| mus_init_bcTimer | mus_timer_module | Subroutine | |
| mus_init_bndForce | mus_bndForce_module | Subroutine | This routine initialize bndForce array assign function pointer to calculate bndForce |
| mus_init_boundary | mus_bc_general_module | Subroutine | Check prerequisite for multi-species boundary conditions |
| mus_init_byIC | mus_flow_module | Subroutine | Initialize flow field by calling corresponding routine according to scheme kind. |
| mus_init_control | mus_control_module | Subroutine | This routines sets the function pointer to main control routine |
| mus_init_eNRTL | mus_eNRTL_module | Function | This function loads property file using external c-function |
| mus_init_eNRTL | mus_eNRTL_module | Function | Dummy function to init_enrtl |
| mus_init_flow | mus_flow_module | Subroutine | Initialize flow field depends on read restart or initial condition |
| mus_init_fluid | mus_fluid_module | Subroutine | This routine initilizes fluid visocity and relaxation paramters for each level |
| mus_init_geomIncr | mus_geomIncr_module | Subroutine | This subroutine initializes the geometry increment. |
| mus_init_gradData | mus_gradData_module | Subroutine | This routine initialize gradData with direct neighbors in state and finite difference coefficients. |
| mus_init_hrrCorrection | mus_source_module | Subroutine | Initialize arrays to store time average density and velocity for dynamic hrrCorrection. \todo KM: 20210301 Allocate also for ghost cells! |
| mus_init_IBM | mus_IBM_module | Subroutine | This subroutine initializes the IBM data incl. reading the stl, unifying the coordinates, storing the connectivity, allocating the parentIDs array and initializing the stencil used. |
| mus_init_IBMData | mus_IBM_module | Subroutine | This subroutine initializes all arrays in the mus_IBM_tmpData_type. |
| mus_init_internalSource | mus_source_module | Subroutine | This routines does setup indices for given source within a field or global. Index are stored for points which source term is active |
| mus_init_interpolate | mus_interpolate_module | Subroutine | This subroutine initialzes the interpolation |
| mus_init_isotherm_acEq | mus_flow_module | Subroutine | Initialize the isothermal acEq flow from density and velocity\n equilibrium pdf (fEq) is calculated from density and velocity |
| mus_init_latticeUnit | mus_param_module | Subroutine | This routine initialize lattice dx and dt |
| mus_init_layout | mus_scheme_layout_module | Subroutine | Initialize growing array of stencils |
| mus_init_levelDescIntpArrays | mus_interpolate_module | Subroutine | Initialize levelwise ghost and source list for interpolation |
| mus_init_levelTimer | mus_timer_module | Subroutine | |
| mus_init_longBuffers | mus_comm_module | Subroutine | Wrapper around the actual communication, to avoid copy-in, copy-out by the Intel compiler. (At least the intel compiler on pigeon (v12.0) seems to do copying here, if a sub-array is passed to an assumed size dummy argument. Therefore we use this wrapping with an assumed shape dummy argument, so we can pass a complete field to the actual exchange which has an assumed size argument, without copying complete state field around, just for communication. Ugly, but it doesn't seem to have an impact on performance, and right it seems to be the most suitable solution. |
| mus_init_mainTimer | mus_timer_module | Subroutine | Timers initialization routine for whatever |
| mus_init_moments | mus_moments_module | Subroutine | Initialize the moment space |
| mus_init_MSGas | mus_flow_module | Subroutine | Initialize the flow from calculated quantitites like density, velocity etc. for multispecies lbm |
| mus_init_MSLiquid | mus_flow_module | Subroutine | Initialize the flow from calculated quantitites like density, velocity etc. for multispecies lbm |
| mus_init_nernst_planck | mus_flow_module | Subroutine | Initialize nernst planck from and .\n Equilibirium pdf (fEq) is calculated from and . |
| mus_init_particleTimer | mus_particle_timer_module | Subroutine | |
| mus_init_passiveScalar | mus_flow_module | Subroutine | Initialize passive scalar from pressure and velocity.\n Equilibirium pdf (fEq) is calculated from pressure and velocity. |
| mus_init_pdf | mus_flow_module | Subroutine | Initialize the flow from pressure, velocity and strain rate.\n First equilibirium pdf (fEq) is calculated from pressure and velocity. Then non-equilibirium (fnEq) is calculated from strain rate. At last set the pdf of each element by sum up these two parts (fEq+fnEq). |
| mus_init_poisson | mus_flow_module | Subroutine | Initialize poisson lbm from potential Equilibirium pdf (fEq) is calculated from potential. |
| mus_init_relaxParam | mus_relaxationParam_module | Subroutine | This routine initialize relaxation parameter |
| mus_init_scheme | mus_scheme_module | Subroutine | Initialize single scheme stencil and variable system |
| mus_init_sourceTerms | mus_source_module | Subroutine | This routine does set_params and setupIndices for all sources terms by gathering points to apply souce term before. |
| mus_init_tracker | mus_tracking_module | Subroutine | This routine initialize tracking subTree to remove empty tracking objects. On active tracking objects: Homogenize time control, write solver speific info for harvester output format and initialize output using tem_init_tracker |
| mus_init_transport_var | mus_transport_var_module | Subroutine | Initialize transport variable by calling setupIndices for every variable and store pntIndex |
| mus_init_turb_wallFunc | mus_bc_general_module | Subroutine | This routine allocates turbulent viscosity and friction velocity on boundary elements. It also initialize friction velocity from stream-wise velocity component on first neighbor in normal direction. |
| mus_init_turbChanForce | mus_source_module | Subroutine | Create subTree and store nElemsGlobal in all proc for turbulent channel force |
| mus_init_turbulenceData | mus_turbulence_module | Subroutine | This initialize turbulence data type which includes velocity array and communication buffer |
| mus_init_varSys_solverData | mus_varSys_module | Subroutine | |
| mus_initAuxField | mus_flow_module | Subroutine | This routine initialize auxField variable from PDF values initialized by initial condition. AuxField is computed from state using SAVE access for fluid elements and interpolated for ghost elements |
| mus_initAuxFieldFluidAndExchange | mus_auxField_module | Subroutine | This routine initializes auxField for fluid elements using SAVE access on PDF initialized by IC |
| mus_initialize | mus_program_module | Subroutine | This routine load musubi configuration file and initialize construction flow, auxilary and main control routines |
| mus_interpolate_linear2D_leastSq | mus_interpolate_linear_module | Function | Bilinear interpolation for a vector quantity phi |
| mus_interpolate_linear3D_leastSq | mus_interpolate_linear_module | Function | Trilinear interpolation for a vector quantity phi Each phi corresponds to each moment |
| mus_interpolate_out | mus_interpolate_header_module | Subroutine | Dump interpolation method to lua |
| mus_interpolate_quad2D_leastSq | mus_interpolate_quadratic_module | Function | Biquadratic interpolation for a vector quantity phi |
| mus_interpolate_quad3D_leastSq | mus_interpolate_quadratic_module | Function | Triquadratic interpolation for a vector quantity phi Each phi corresponds to each moment |
| mus_intp_error | mus_interpolate_verify_module | Subroutine | Determine the numerical error of the interpolated quantities to the given initial conditions |
| mus_intp_getPdfs_D3Q27 | mus_d3q27_module | Function | This function returns pdfs from state |
| mus_intp_getSrcElemPosInLevelDesc | mus_connectivity_module | Subroutine | |
| mus_intp_getSrcElemPosinTree | mus_connectivity_module | Subroutine | |
| mus_intp_update_depFromCoarser | mus_interpolate_module | Subroutine | The required source elements for ghost from coarser elements are identified in this routine. Moreover, the weights for each sources based on distance are calculated. \n |
| mus_intp_update_depFromFiner | mus_interpolate_module | Subroutine | All sources (children) have been found in treelm, updated number of sources needed, based on nDims collect all source elements into sourceFromFiner assign ghost intp list. Currently only average interpolation is implemented for fillMineFromFiner |
| mus_intpAuxFieldCoarserAndExchange | mus_auxField_module | Subroutine | This routine interpolate auxField variable for ghostFromFiner and exchange halos |
| mus_intpAuxFieldFinerAndExchange | mus_auxField_module | Subroutine | This routine interpolate auxField variable for ghostFromCoarser and exchange halos |
| mus_intpVel_Xk | mus_IBM_module | Subroutine | This subroutine interpolates the velocity values using the velocity on Xk. (neighbors). (Inamuro paper: step 3, correct u_l(X_k)) |
| mus_load_absorbLayer | mus_absorbLayer_module | Subroutine | This routine load additional information for absorblayer |
| mus_load_bc | mus_bc_header_module | Subroutine | Read in the boundary conditions from the LUA parameter file.\n |
| mus_load_bc_data | mus_geom_module | Subroutine | This routine invokes the treelm routines to load the boundary conditions |
| mus_load_config | mus_config_module | Subroutine | Read in LUA parameter file See http://www.lua.org for a reference on how to use Lua is a scripting language in itself which allows more complex parameter files including comments And load / create the mesh depending on the configuration |
| mus_load_debugtracker | mus_particle_config_module | Subroutine | |
| mus_load_field_prop | mus_field_prop_module | Subroutine | load fluid properties like fluid and species table from lua file based on the scheme kind |
| mus_load_field_single | mus_field_module | Subroutine | load a single field table In includes: load field property load source variables load boundary defination load immersed boundary method load initial condition defination and its property |
| mus_load_fieldBaseInfos | mus_field_module | Subroutine | This routine returns nFields and field labels from config file. It is required to initialize variable system. labels are loaded only if field table is present else default is set to empty string. |
| mus_load_fields | mus_field_module | Subroutine | Subroutine to load the field table from the lua configuration file. |
| mus_load_fluid | mus_fluid_module | Subroutine | Read in the fluid property from the LUA parameter file |
| mus_load_geom | mus_geom_module | Subroutine | This routine load all geometry related datas like mesh, boundary and immersed_boundary. Restart is also loaded here because mesh is loaded in tem_load_restart if restart read is defined. |
| mus_load_IBM | mus_IBM_module | Subroutine | Load the IBM information from the lua config file. |
| mus_load_IBM_single | mus_IBM_module | Subroutine | Load a single IBM table from the config file. |
| mus_load_interpolate | mus_interpolate_header_module | Subroutine | Read in the type of interpolation scheme |
| mus_load_mixture | mus_mixture_module | Subroutine | This routine load mixture table from scheme table. Define either mass density or number density. If mass density is specified, number density can be computed at runtime or vice versa. @note Todo Currently, the simulation is initialized by density, extend it to initialize from mixture number density/volume fraction and mole fraction \verbatim mixture = { rho0 = 1.0, omega } \endverbatim |
| mus_load_nernstPlanck | mus_nernstPlanck_module | Subroutine | load input to solve nernst_planck equation |
| mus_load_newLayout | mus_scheme_layout_module | Subroutine | load a new stencil definition from the lua file |
| mus_load_param | mus_param_module | Subroutine | load global parameter from conf |
| mus_load_particle_boundaries | mus_particle_config_module | Subroutine | |
| mus_load_particle_collisions | mus_particle_config_module | Subroutine | |
| mus_load_particle_creator_timing | mus_particle_config_module | Subroutine | |
| mus_load_particle_distribution | mus_particle_config_module | Subroutine | |
| mus_load_particle_dps_data_chunk | mus_particle_config_module | Subroutine | |
| mus_load_particle_interpolation | mus_particle_config_module | Subroutine | |
| mus_load_particle_mem_data_chunk | mus_particle_config_module | Subroutine | |
| mus_load_particleblob_cylinder | mus_particle_config_module | Subroutine | |
| mus_load_particleblob_prism | mus_particle_config_module | Subroutine | |
| mus_load_particlekind | mus_particle_config_module | Subroutine | Get the particle kind from the configuration |
| mus_load_particles | mus_particle_config_module | Subroutine | Routine to load the particle data from the musubi.lua file meant to be called from within mus_load_config after the lua file has already been opened |
| mus_load_physics | mus_physics_module | Subroutine | This routine loads the physics table from musubi config file |
| mus_load_poisson | mus_poisson_module | Subroutine | load input to solve poisson equation |
| mus_load_poissonBoltzmann | mus_poisson_module | Subroutine | Load input to solve poisson boltzmann equation |
| mus_load_predefined_particleblob | mus_particle_config_module | Subroutine | |
| mus_load_scheme | mus_scheme_module | Subroutine | load single scheme defined in lua file with or without scheme handle |
| mus_load_scheme_header | mus_scheme_header_module | Subroutine | load scheme header info from lua file identify table or from scheme table or from config |
| mus_load_source_var | mus_source_type_module | Subroutine | Routine load musubi source terms for given key. key is glob_source or source |
| mus_load_species | mus_species_module | Subroutine | this routines load species table from config file |
| mus_load_transport_var | mus_transport_var_module | Subroutine | Routine load musubi transport variables |
| mus_load_turb_wallFunc | mus_turb_wallFunc_module | Subroutine | This routine loads wall model and nonlinear solver type for nonlinear equation |
| mus_load_turbulence | mus_turbulence_module | Subroutine | load turbulence table |
| mus_log_fluid_momentum | mus_particle_logging_module | Subroutine | perform_particle_checks computes the total momentum of the fluid and particle phases and logs this to a file |
| mus_mixture_out | mus_mixture_module | Subroutine | This routine write mixture properties into lua file |
| mus_nernstPlanck_advRel_generic | mus_compute_nernstPlanck_module | Subroutine | Advection relaxation routine for the nernst planvk model with an explicit calculation of all equilibrium quantities. Slow and simple. This routine should only be used for testing purposes |
| mus_nNwtn_CS_dump | mus_nonNewtonian_module | Subroutine | Dump nonNewtonian (CY) parameters to outUnit |
| mus_nNwtn_CS_load | mus_nonNewtonian_module | Subroutine | Read in the nonNewtonian Casson model parameters from Lua file |
| mus_nNwtn_CS_save | mus_nonNewtonian_module | Subroutine | write nonNewtonian Casson parameters into a lua file |
| mus_nNwtn_CY_dump | mus_nonNewtonian_module | Subroutine | Dump nonNewtonian (CY) parameters to outUnit |
| mus_nNwtn_CY_load | mus_nonNewtonian_module | Subroutine | Read in the nonNewtonian Carreau-Yasuda (CY) model parameters from Lua file |
| mus_nNwtn_CY_save | mus_nonNewtonian_module | Subroutine | write nonNewtonian (CY) parameters into a lua file |
| mus_nNwtn_dump2outUnit | mus_nonNewtonian_module | Subroutine | Dump nonNewtonian fluid parameters to outUnit |
| mus_nNwtn_load | mus_nonNewtonian_module | Subroutine | Read in the nonNewtonian table from Lua file and dump parameters to logUnit Specificly, this routine calls each model parameter loader. |
| mus_nNwtn_PL_dump | mus_nonNewtonian_module | Subroutine | Dump nonNewtonian Power Law (PL) parameters to outUnit |
| mus_nNwtn_PL_load | mus_nonNewtonian_module | Subroutine | Read in the nonNewtonian Power Law (PL) model parameters from Lua file |
| mus_nNwtn_PL_save | mus_nonNewtonian_module | Subroutine | write nonNewtonian Power Law (PL) parameters into a lua file |
| mus_nNwtn_save2lua | mus_nonNewtonian_module | Subroutine | write nonNewtonian fluid parameters into a lua file |
| mus_open_config | mus_config_module | Subroutine | This routine loads musubi specific lua function from string and musubi input configuration file |
| mus_opVar_gradU_forElement | mus_operation_var_module | Subroutine | This routine returns the velocity gradient from velocity in auxField |
| mus_opVar_QCriterion_forElement | mus_operation_var_module | Subroutine | This routine computes Q-criterion from velocity in auxField. , where and S are asymmetric (vorticity tensor) and symmetric (rate of strain) part of velocity gradient. i.e and . |
| mus_opVar_setupIndices | mus_operation_var_module | Subroutine | |
| mus_opVar_vorticity_forElement | mus_operation_var_module | Subroutine | This routine computes vorticity from curl of velocity in auxField. |
| mus_param_out | mus_param_module | Subroutine | This routine writes global parameter into solver specific string in lua format |
| mus_particles_addSourceTermsToAuxField_DPS | mus_particle_module | Subroutine | |
| mus_particles_applyHydrodynamicForces_DPS | mus_particle_module | Subroutine | |
| mus_particles_applyHydrodynamicForces_DPS_onewaycoupled | mus_particle_module | Subroutine | |
| mus_particles_applyHydrodynamicForces_MEM | mus_particle_module | Subroutine | |
| mus_particles_comm_init_buffers | mus_particle_comm_module | Subroutine | |
| mus_particles_comm_init_IDbuffer | mus_particle_comm_type_module | Subroutine | |
| mus_particles_comm_init_particlebuffer | mus_particle_comm_type_module | Subroutine | |
| mus_particles_comm_init_posbuffer | mus_particle_comm_type_module | Subroutine | |
| mus_particles_comm_init_statebuffer | mus_particle_comm_type_module | Subroutine | |
| mus_particles_comm_init_vectorbuffer | mus_particle_comm_type_module | Subroutine | |
| mus_particles_comm_init_wallbuffer | mus_particle_comm_type_module | Subroutine | |
| mus_particles_DPS_interpolateFluidProperties | mus_particle_DPS_module | Subroutine | Interpolates fluid properties from neighboring lattice sites to determine the fluid density and velocity at the location of the particle |
| mus_particles_DPS_interpolateFluidProperties_onewaycoupled | mus_particle_DPS_module | Subroutine | Interpolates fluid properties from neighboring lattice sites to determine the fluid density and velocity at the location of the particle |
| mus_particles_global_errorcheck | mus_particle_aux_module | Subroutine | Routine to aggregate local error flags and use MPI allreduce to set a global flag if any of the local flags is true |
| mus_particles_initFluidVolumeFraction | mus_particle_DPS_module | Subroutine | Routine to initialize the fluid volume fraction field |
| mus_particles_initForceContributionMPItype | mus_particle_comm_type_module | Subroutine | |
| mus_particles_initialize | mus_particle_module | Subroutine | Initialization for particleGroup and all the particles in it Includes: * Assigning the required procedure pointers for particleGroup and particles * Initializing loggers * Initializing communication routines * Building the representation of the particles on the grid |
| mus_particles_initialize_communication | mus_particle_comm_module | Subroutine | |
| mus_particles_initParticleInfoMPItype | mus_particle_comm_type_module | Subroutine | Routine to create and commit the MPI type used to communicate all continuous particle data |
| mus_particles_initParticleStateMPItype | mus_particle_comm_type_module | Subroutine | Routine to create and commit the MPI type used to communicate position, velocity and coordOfOrigin |
| mus_particles_initPositionUpdateMPItype | mus_particle_comm_type_module | Subroutine | Routine to create and commit the MPI type used to communicate position and coordOfOrigin |
| mus_particles_initWallPosMPItype | mus_particle_comm_type_module | Subroutine | |
| mus_particles_log_total_momentum | mus_particle_logging_module | Subroutine | perform_particle_checks computes the total momentum of the fluid and particle phases and logs this to a file |
| mus_particles_logdata_DPS | mus_particle_logging_module | Subroutine | Main routine to log particle data for DPS particles |
| mus_particles_logdata_MEM | mus_particle_logging_module | Subroutine | Main routine to log particle data for MEM particles |
| mus_particles_mapping_DPS | mus_particle_module | Subroutine | |
| mus_particles_mapping_MEM | mus_particle_module | Subroutine | mus_particles_mapping maps the current particle positions to the lattice This means the exclusionLists are updated, connectivity of solid and fluid neighbor particles is modified, new fluid particles are initialized and have their connectivity restored. Also particles that have no more elements on this process (either local or halo) get removed from this process. Should be called once per LBM time step. |
| mus_particles_move | mus_particle_module | Subroutine | This routine moves all particles in particleArray. |
| mus_particles_move_DPS | mus_particle_module | Subroutine | This routine moves all particles in particleArray. |
| mus_particles_move_DPS_onewaycoupled | mus_particle_module | Subroutine | This routine moves all particles in particleArray. |
| mus_particles_print_config | mus_particle_config_module | Subroutine | |
| mus_particles_runtests | mus_particle_tests_module | Subroutine | |
| mus_particles_transferMomentumToFluid_DPS | mus_particle_module | Subroutine | |
| mus_particles_transferMomentumToFluid_MEM | mus_particle_module | Subroutine | |
| mus_particles_updateFluidVolumeFraction | mus_particle_DPS_module | Subroutine | Main routine to update the fluid volume fraction in the auxField |
| mus_PBLinear_advRel_generic | mus_compute_Poisson_module | Subroutine | Advection relaxation routine for the linear poisson boltzmann equation with an explicit calculation of all equilibrium quantities. Slow and simple. Where k^2 is inverse of debye length and in this kernel refered as RHS_coeff |
| mus_PBnonLinear_advRel_generic | mus_compute_Poisson_module | Subroutine | Advection relaxation routine for the nonlinear poisson boltzmann equation for electrolyte solution |
| mus_pdf_allocate | mus_pdf_module | Subroutine | |
| mus_pdf_serialize | mus_buffer_module | Subroutine | Preparation of the serialize PDF data |
| mus_pdf_unserialize | mus_buffer_module | Subroutine | This subroutine unserializes the read data and stores it in the state- vector to perform a restart. |
| mus_perf_measure | mus_tools_module | Subroutine | This routine measures performance imbalance, MLUPS and dumps timings to disk |
| mus_perform_dynLoadBal | mus_dynLoadBal_module | Subroutine | Wrap up the routines required for dynamic load balancing |
| mus_physics_dump2outUnit | mus_physics_module | Subroutine | |
| mus_physics_out | mus_physics_module | Subroutine | This routine write reference physics parameters into solver specific string in lua format. |
| mus_physics_out_conv | mus_physics_module | Subroutine | This routine write physics convert factor into solver specific string in lua format. use reference density to parmeterize kg and reference mole density to parmeterize mol. |
| mus_Poisson_advRel_d2q9 | mus_compute_Poisson_module | Subroutine | Advection relaxation routine for the poisson equation with an explicit calculation of all equilibrium quantities. Slow and simple. The right hand side of equation is added as a source term in mus_apply_sourceTerms routine |
| mus_Poisson_advRel_generic | mus_compute_Poisson_module | Subroutine | Advection relaxation routine for the poisson equation with an explicit calculation of all equilibrium quantities. Slow and simple. The right hand side of equation is added as a source term in mus_apply_sourceTerms routine |
| mus_print_ppInfo | mus_ppInfo_module | Subroutine | Print information on the pre-processor options of the executable. |
| mus_readRestart | mus_restart_module | Subroutine | Read the serialized restart file into the state vectors |
| mus_reductionTransient_forPoint | mus_operation_var_module | Subroutine | Same as reductionTransient_forElement except it evaluate it multiply values from points |
| mus_reload_IBM | mus_IBM_module | Subroutine | |
| mus_reset_aux | mus_dynLoadBal_module | Subroutine | This subroutine initializes musubi after a dynamic load balancing is performed. |
| mus_reset_bcTimer | mus_timer_module | Subroutine | |
| mus_reset_levelTimer | mus_timer_module | Subroutine | |
| mus_reset_mainTimer | mus_timer_module | Subroutine | |
| mus_scheme_cleanup | mus_scheme_module | Subroutine | This subroutine acts as a destructor for the construct routine |
| mus_scheme_header_out | mus_scheme_header_module | Subroutine | Dumps scheme header |
| mus_scheme_out | mus_scheme_module | Subroutine | Dump single scheme info into restart solver specific conf to dump solver specific information in restart header file |
| mus_set_bcLinks | mus_bc_header_module | Subroutine | |
| mus_set_bouzidi | mus_bc_header_module | Subroutine | Set necessary data for Wall Bouzidi BC bouzidi should be allocated beforehand |
| mus_set_convFac | mus_physics_module | Subroutine | This routine computed conversion factors for lattice to physical units. inverse of this factors can be used to convert from physical to lattice units.\n use reference density to parmeterize kg and reference mole density to parmeterize mol.\n Multiply these factors with the LB quantity to get the physical quantity Divide the physical quantity by these factors to get the LB units. |
| mus_set_ic_states | mus_field_module | Subroutine | Set ic states labels by scheme kind |
| mus_set_inletBfl | mus_bc_header_module | Subroutine | Bitmask is true for incoming direction |
| mus_set_inletUbb | mus_bc_header_module | Subroutine | Set necessary data for BC velocity_bounceback_qval |
| mus_set_nonEqExpol | mus_bc_header_module | Subroutine | Linkwise non-equilibrium extrapolation (can handle curved walls) |
| mus_set_nSources | mus_interpolate_header_module | Subroutine | |
| mus_set_opVar_getElement | mus_operation_var_module | Subroutine | Routine to store musubi varSys Data in operation variable solver_bundle. Unline Ateles, Musubi operations does not require any special treatment so it uses to generic routines in treelm |
| mus_set_outletExpol | mus_bc_header_module | Subroutine | |
| mus_set_posInNghElems | mus_bc_header_module | Subroutine | Set BC elements positions in LevelDesc%neigh%nghElems |
| mus_set_scaleFac | mus_physics_module | Subroutine | |
| mus_set_stFun_getElement | mus_varSys_module | Subroutine | Routine to store musubi varSys Data in stFun variable |
| mus_set_timerHandles | mus_timer_module | Subroutine | This routine sets mus_timerHandles passed by apesmate |
| mus_set_weights_d1q3 | mus_scheme_layout_module | Subroutine | |
| mus_set_weights_d2q5 | mus_scheme_layout_module | Subroutine | |
| mus_set_weights_d2q9 | mus_scheme_layout_module | Subroutine | |
| mus_set_weights_d3q13 | mus_scheme_layout_module | Subroutine | |
| mus_set_weights_d3q19 | mus_scheme_layout_module | Subroutine | |
| mus_set_weights_d3q27 | mus_scheme_layout_module | Subroutine | |
| mus_set_weights_d3q6 | mus_scheme_layout_module | Subroutine | |
| mus_set_weights_d3q7 | mus_scheme_layout_module | Subroutine | |
| mus_setProp | mus_geomIncr_module | Subroutine | This routine updates the propertybits of an element If solidify == true, set prp_fluidify and set prp_solid If fluidify == treu, clean prp_fluidify and set prp_fluid |
| mus_setupIndices_forBC | mus_bc_general_module | Subroutine | This routine setup indices for boundary variables in bc_State_type pntIndex for the points on which boundaries are treated. |
| mus_setupIndices_forSrc | mus_source_module | Subroutine | This routines does setup indices for given source within a field or global. Index are stored for points which source term is active |
| mus_solve | mus_program_module | Subroutine | This routine does the main musubi computation loop |
| mus_source_cleanup | mus_source_type_module | Subroutine | This routine act as a destructor for source type. The arrays allocated in mus_init_sourceTerms are destroyed here |
| mus_species_out | mus_species_module | Subroutine | writes species propertries into a lua file |
| mus_stateVar_Fetch_fromIndex | mus_stateVar_module | Subroutine | Routine to get the actual value for a given array of indices. The indices belong to the grwarray of points storing levelwise in Pointdata%pntLvl(iLevel). Hence this routines takes the indeices as input, can refer to the pointData and evaluate the variable and returns the values |
| mus_stateVar_Fetch_now_fromIndex | mus_stateVar_module | Subroutine | Routine to get the actual value for a given array of indices. The indices belong to the grwarray of points storing levelwise in Pointdata%pntLvl(iLevel). Hence this routines takes the indeices as input, can refer to the pointData and evaluate the variable and returns the values |
| mus_stateVar_forPoint | mus_stateVar_module | Subroutine | State variable for a given set of points using linear interpolation. |
| mus_stateVar_fromIndex | mus_stateVar_module | Subroutine | Routine to get the actual value for a given array of indices. The indices belong to the grwarray of points storing levelwise in Pointdata%pntLvl(iLevel). Hence this routines takes the indeices as input, can refer to the pointData and evaluate the variable and returns the values |
| mus_store_bcVarPos | mus_variable_module | Subroutine | Store the position of each boundary variable in the global varSys
in the field%bc%varPos% |
| mus_store_derVarPos | mus_variable_module | Subroutine | Store the position of each variable in the global system in the derVarPos This function is also called in Harvester. |
| mus_swap_Now_Next | mus_pdf_module | Subroutine | |
| mus_testInterpolation | mus_interpolate_verify_module | Subroutine | Call tests to determine the actual error from the interpolation routines on the ghost elements. Compare against the analytical solution, which is given in terms of the initial conditions. Call this routine after the initial values are set and the ghost elements have been filled once, but no computation was started -> after fillHelperElements in the mus_aux_module |
| mus_time_homogenize | mus_time_module | Subroutine | Convert itime from restart to real time |
| mus_time_modulo | mus_time_module | Function | Check for multilevel cycle complete by modulo of nIters by scaleFactor depends on acoustic or diffusive scaling. Acoustic scaling: scale factor = 2 Diffusive scaling: scale factor = 4 |
| mus_timeControl_homogenize | mus_time_module | Subroutine | Converts sim time to iter and vice versa depends on which one is defined in the configuration file |
| mus_turb_calcVisc | mus_turbulence_module | Subroutine | This routine compute turbulence viscosity and stores in turbulence data type |
| mus_turb_updateViscOfTurbWall | mus_turbulence_module | Subroutine | This routine update turbulent viscosity of boundary elements from RANS viscosity computed in turbulent_wall boundary. |
| mus_turbVisc_fromGradU_dummy | mus_turb_viscosity_module | Subroutine | Dummy function for turbulent viscosity from Gradu procedure |
| mus_turbVisc_fromPreColPDF_dummy | mus_turb_viscosity_module | Subroutine | Dummy function to compute turbulent viscosity from PDF |
| mus_turbVisc_Smagorinsky_fromGradU2D | mus_Smagorinsky_module | Subroutine | Calculate eddy viscosity with smagorinsky model for compressible model using gradient of velocity for 2D layout |
| mus_turbVisc_Smagorinsky_fromGradU2D_incomp | mus_Smagorinsky_module | Subroutine | Calculate eddy viscosity with smagorinsky model for incompressible model using gradient of velocity for 2D layout |
| mus_turbVisc_Smagorinsky_fromGradU3D | mus_Smagorinsky_module | Subroutine | Calculate eddy viscosity with smagorinsky model for compressible model using gradient of velocity Reference paper: https://link.springer.com/content/pdf/10.1007/s10494-012-9405-0.pdf?pdf=button The formula is taken from https://caefn.com/openfoam/smagorinsky-sgs-model nu_t = C_k delta sqrt(k_sgs) k_sgs = ((-b+sqrt(b^2+4ac))/2a)^2 a = C_e/delta, b=2/3 tr(dev(Strain)), c = 2 C_k delta (dev(Strain):Strain) |
| mus_turbVisc_Smagorinsky_fromGradU3D_incomp | mus_Smagorinsky_module | Subroutine | Calculate eddy viscosity with smagorinsky model for incompressible model using gradient of velocity |
| mus_turbVisc_Smagorinsky_fromPreColPDF_2D | mus_Smagorinsky_module | Subroutine | Calculate eddy viscosity with smagorinsky model for compressible model using pre-collision PDF. Schneider, A. (2015). A Consistent Large Eddy Approach for Lattice Boltzmann Methods and its Application to Complex Flows. Technical University Kaiserslautern. |
| mus_turbVisc_Smagorinsky_fromPreColPDF_3D | mus_Smagorinsky_module | Subroutine | Calculate eddy viscosity with smagorinsky model for compressible model using pre-collision PDF. Schneider, A. (2015). A Consistent Large Eddy Approach for Lattice Boltzmann Methods and its Application to Complex Flows. Technical University Kaiserslautern. |
| mus_turbVisc_Smagorinsky_fromPreColPDF_incomp_2D | mus_Smagorinsky_module | Subroutine | Calculate eddy viscosity with smagorinsky model for incompressible model using pre-collision PDF |
| mus_turbVisc_Smagorinsky_fromPreColPDF_incomp_3D | mus_Smagorinsky_module | Subroutine | Calculate eddy viscosity with smagorinsky model for incompressible model using pre-collision PDF |
| mus_turbVisc_Vreman_2D | mus_Vreman_module | Subroutine | Calculate eddy viscosity with Vreman model for 2D stencil model \todo add reference and formula |
| mus_turbVisc_Vreman_3D | mus_Vreman_module | Subroutine | Calculate eddy viscosity with Vreman model for 3D stencil Fortran implementation of this model: http://www.vremanresearch.nl/Vreman_Subgridmodel_Fortran.txt |
| mus_turbVisc_WALE_2D | mus_WALE_module | Subroutine | Calculate eddy viscosity with WALE (Wall-Adapting Local Eddy-viscosity) model \todo add reference and formula |
| mus_turbVisc_WALE_3D | mus_WALE_module | Subroutine | Calculate eddy viscosity with WALE (Wall-Adapting Local Eddy-viscosity) model \todo add reference and formula |
| mus_unload_IBM | mus_IBM_module | Subroutine | |
| mus_update_BcghostElem | mus_construction_module | Subroutine | |
| mus_update_relaxParamFromViscSTfun | mus_relaxationParam_module | Subroutine | This routine is used to initialize relaxation paramter and update bulk viscosity at every time step Bulk visocisty is defined as space-time function to apply ramping and spatial sponge in bulk viscosity |
| mus_update_relaxParamKine | mus_relaxationParam_module | Subroutine | Update kinematic relaxation parameter from viscosity and check omega |
| mus_update_relaxParams | mus_aux_module | Subroutine | Set relaxation parameters for MRT |
| mus_update_sourceVars | mus_source_module | Subroutine | Updated all source variables i.e field specific source and global source on all fields. |
| mus_update_viscKine | mus_relaxationParam_module | Subroutine | Update kinematic viscosity from STfun and calculate turbulent viscosity from velocity gradient or nonEqPDF Viscosity obtained from this routine are normalized to the level |
| mus_updateConnectivity_forSymmetricBC | mus_connectivity_module | Subroutine | Update the connectivity for elements with symmetric boundary condition such that during the propagation they are applied implicitly. |
| mus_updateSrcVar_dummy | mus_source_type_module | Subroutine | Dummy routine for update source variable |
| mus_updateSrcVar_dynSponFld | mus_source_var_module | Subroutine | Compute density and velocity in sponge layer for dynamic sponge |
| mus_updateSrcVar_turbChanForce | mus_source_var_turbChanForce_module | Subroutine | Compute dynamic force term using auxField for turbulent channel force. |
| mus_weights_out | mus_scheme_layout_module | Subroutine | Dump the weights in lua format. |
| mus_writeRestart | mus_restart_module | Subroutine | Write the serialized buffer assembled in mus_serializeData to disk |
| mus_writeSolverSpecInfo | mus_tools_module | Subroutine | Write solver specific info to scratch file |
| must_create_new_particles | mus_particle_creator_module | Function | Function to check whether particles should be created using the particleCreator object at the current iteration iter. |
| newton_method | mus_turb_wallFunc_module | Function | This routine computes friction velocity from wall model profile using Newton iteration method |
| normalize_probabilities | mus_particle_blob_module | Subroutine | |
| normalizeBC | mus_construction_module | Subroutine | This routine normalizes the normal vectors of boundary elements including the corner elements as well as assigns the corresponding prevailing direction from the stencil |
| normcdf | mus_particle_prob_module | Subroutine | This function evaluates the normal distribution function: |
| one | mus_particle_interpolation_module | Function | Function to return interpolation weight 1.0 regardless of input. We need this as the weight for the z-direction interpolation in case of d2q9 stencil. |
| openLogFile | mus_particle_logging_module | Subroutine | openLogFile opens a file with name fileName and returns the unit attached to it. It checks whether the file exists and if not |
| outlet_dnt | mus_bc_fluid_module | Subroutine | Outlet Pressure do-nothing boundary is the open boundary condition for incompressible model. This BC sets reference density at boundary so pressure is not loaded config file. Here, the normal velocity is extrapolated from 1st fluid node and tangential velocity is extrapolated from 2nd fluid node in normal direction. Algorithm used in this boundary condition: fEq(1,u) and fEq(rho,u) are computed using macroscopic values from current element. In fNeq, post-collision of current time step is used for normal direction. |
| outlet_nrbc | mus_bc_fluid_module | Subroutine | Characteristic-based non-reflective open boundary conditions |
| outlet_nrbc_eq | mus_bc_fluid_module | Subroutine | Characteristic-based non-reflective open boundary conditions |
| outlet_nrbc_incomp | mus_bc_fluid_module | Subroutine | Characteristic-based non-reflective open boundary conditions |
| outlet_pasScal | mus_bc_passiveScalar_module | Subroutine | Outlet boundary conditions for passive scalar transport (Flekkoy). |
| outlet_zero_prsgrd | mus_bc_fluid_module | Subroutine | Outlet boundary conditions with zero pressure gradient. |
| perform_checks | mus_tools_module | Subroutine | Perform run-time checks if interval is active |
| pick_random_position | mus_particle_blob_module | Subroutine | |
| positionLocalOnMyRank | mus_particle_aux_module | Function | Routine which checks whether a spatial position is local on the current rank |
| potential_neumann | mus_bc_poisson_module | Subroutine | Linkwise neumann potential non-equilibrium boundary condition for curved and straight walls (zero gradient). For straight wall, values are extrapolated along boundary normal instead of along the link. The accuracy of straight wall depends on the qVal defined in config file and default is set to 0.5 |
| potential_neumann_curved | mus_bc_poisson_module | Subroutine | No comment yet! |
| potential_nonEqExpol | mus_bc_poisson_module | Subroutine | Linkwise Dirichlet potential non-equilibrium boundary condition for curved and straight walls. For straight wall, physical boundary overlaps with boundary node i.e. qVal=0.0. |
| potential_nonEqExpol_curved | mus_bc_poisson_module | Subroutine | Linkwise Dirichlet potential non-equilibrium boundary condition for curved wall |
| prepare_target_elem_list | mus_geomIncr_module | Subroutine | This routine compares the macroscopic quantity obtained for an element against specified threshold and populates the list of target elements which participate in geometry change. In addition it sets the property bit(s) of target elements to fluidify in case of solidification and clears this bit in case of fluidification |
| press_neq | mus_bc_fluid_module | Subroutine | Pressure Non-Equilibrium type boundary conditions from Guo, Z., & Shi, B. (2002). "Non-equilibrium extrapolation method for velocity and pressure boundary conditions in the lattice Boltzmann method." Chinese Physics, (November 2016). |
| pressure_antiBounceBack | mus_bc_fluid_module | Subroutine | Outlet Pressure Bounce Back boundary condition |
| pressure_antiBounceBack_pasScal | mus_bc_passiveScalar_module | Subroutine | Dirichlet stationary boundary conditions for passive scalar transport in |
| pressure_eq | mus_bc_fluid_module | Subroutine | Outlet Pressure Equilibrium type boundary conditions |
| pressure_expol | mus_bc_fluid_module | Subroutine | Outlet Pressure extrapolation boundary. qVal for this boundary must be 0.0 |
| pressure_expol_slow | mus_bc_fluid_experimental_module | Subroutine | No comment yet! |
| pressure_momentsbased | mus_bc_fluid_module | Subroutine | Moment based open boundary condition from Sam Bennent PhD thesis "A Lattice Boltzmann Model for Diffusion of Binary Gas Mixtures" for weakly compressible LBM model |
| pressure_momentsbased_incomp | mus_bc_fluid_module | Subroutine | Moment based open boundary condition from Sam Bennent PhD thesis "A Lattice Boltzmann Model for Diffusion of Binary Gas Mixtures" for incompressible LBM model |
| pressure_nonEqExpol | mus_bc_fluid_nonEqExpol_module | Subroutine | Element-wise Dirichlet pressure non-equilibrium boundary condition for straight boundary and updates all directions. For straight wall, values are extrapolated along boundary normal instead of along the link and qVal=0. |
| print_particle_creator | mus_particle_creator_module | Subroutine | Print the data in particle creator object, used for debugging |
| print_particle_creator_positions | mus_particle_creator_module | Subroutine | Print the positions in particle creator object, used for debugging |
| print_particleblob | mus_particle_blob_module | Subroutine | |
| print_particleblob_prism | mus_particle_blob_module | Subroutine | |
| print_particleblob_prob | mus_particle_blob_module | Subroutine | |
| print_particles_comm | mus_particle_comm_type_module | Subroutine | |
| print_particles_pIDvectorbuffer | mus_particle_comm_type_module | Subroutine | |
| print_particles_statebuffer | mus_particle_comm_type_module | Subroutine | |
| print_positions | mus_particle_blob_module | Subroutine | |
| printDebugTrackerData | mus_particle_logging_type_module | Subroutine | |
| printNeighList | mus_particle_module | Subroutine | |
| printParticleGroup | mus_particle_type_module | Subroutine | |
| printParticleGroup2_DPS | mus_particle_type_module | Subroutine | |
| printParticleGroup2_MEM | mus_particle_type_module | Subroutine | |
| printParticleGroupData | mus_particle_type_module | Subroutine | |
| printParticleInterpolator | mus_particle_interpolation_module | Subroutine | |
| printpIDlist | mus_particle_type_module | Subroutine | |
| printTotalElemList | mus_particle_module | Subroutine | |
| proximity | mus_geomIncr_module | Subroutine | A subroutine which checks the proximity condition and generates a new treeID list of potential target elements which can then be checked against various thresholds as defined in the lua configuration file. |
| pruneParticleCommProcs | mus_particle_comm_type_module | Subroutine | pruneParticleCommProcs takes the initial list of processes we think we need to communicate particle data with (determined using only local data) and checks whether those processes also think they need to communicate with us. The prunedProcs array contains the final list of processes for which we know we will send and also receive messages. |
| r8_swap | mus_particle_prob_module | Subroutine | Swap two reals of kind rk |
| rearrange_bc_elems | mus_bc_header_module | Subroutine | It removes non-valid elements while still maintaining the origianl order. The given bc elements (elems) contains both valid and non-valid elements. Position of valid elements are given by posInBCElem. Valid elements are moved towards the start of the elems so that they become continuous in the elems. |
| recalculate_auxField_DPS | mus_particle_DPS_module | Subroutine | Remove the momentum increments added during subcycles to prevent double-adding the momentum of particles to the fluid. |
| remove_elem_grw_real2darray | mus_particle_blob_module | Subroutine | |
| remove_elem_grw_realarray | mus_particle_blob_module | Subroutine | |
| remove_particle_from_da_particle_dps | mus_particle_DPS_type_module | Subroutine | |
| remove_particle_from_da_particle_mem | mus_particle_MEM_type_module | Subroutine | |
| remove_solid_in_bc | mus_field_module | Subroutine | First check count number of valid elements (non-solid) in each BC. Then rearrange BC elements list so it contains only valid elements. Update fields%bc%elemLvl%stencilPos fields%bc%elemLvl%posInNghElems accordingly. |
| resetForceBuffers | mus_particle_comm_module | Subroutine | |
| rodriguez_rotation | mus_particle_blob_module | Function | |
| rotate_positions | mus_particle_blob_module | Subroutine | |
| secondMom_2D | mus_derivedQuantities_module2 | Function | Calculate second moments of some quantity where Q is number of discrete velocity.\n The output is 1 dimentional array which has 6 componenents.\n Specifically, This function is used by shear stress and strain rate. 1=xx, 2=yy, 3=xy |
| secondMom_3D | mus_derivedQuantities_module2 | Function | Calculate second moments of some quantity where Q is number of discrete velocity.\n The output is 1 dimentional array which has 6 componenents.\n Specifically, This function is used by shear stress and strain rate. 1=xx, 2=yy, 3=zz, 4=xy, 5=yz, 6=xz in 2D: 1=xx, 2=yy, 3=xy |
| secondMom_minus_cs2_2D | mus_derivedQuantities_module2 | Function | Calculate second moments of some quantity where Q is number of discrete velocity.\n The output is 1 dimentional array which has 6 componenents.\n Specifically, This function is used by shear stress and strain rate. 1=xx, 2=yy, 3=xy |
| secondMom_minus_cs2_3D | mus_derivedQuantities_module2 | Function | Calculate second moments of some quantity where Q is number of discrete velocity.\n The output is 1 dimentional array which has 6 componenents.\n Specifically, This function is used by shear stress and strain rate. 1=xx, 2=yy, 3=zz, 4=xy, 5=yz, 6=xz |
| set_boundary | mus_bc_general_module | Subroutine | Call the functions associated with each boundary condition |
| set_bouzidi_coeff | mus_bc_header_module | Subroutine | Set the coefficients of bouzidi linear interpolation boundary condition. |
| set_halo_commLinks | mus_construction_module | Subroutine | Select the halo elements which require all links |
| set_momentIndices | mus_moments_module | Subroutine | set indices for accessing the pressure, velocity and the shear from a 1d vector |
| set_omegasLvl | mus_mixture_module | Subroutine | Set the omegas according to the time step setting |
| set_random_seed | mus_particle_blob_module | Subroutine | |
| set_sendHaloBits | mus_construction_module | Subroutine | set the sendHalo bit for all fluid elements which are send to remote procs |
| set_values_by_levels | mus_physics_module | Function | |
| setFieldBCNeigh | mus_construction_module | Subroutine | This routine sets field BC neigh array with position of neighbor element in the inward normal direction of boundary in the levelwise list. if valid 1st neighbor does not exist return current element position. if valid higher order neighbor does not exist return last valid neighbor |
| setParameters_multispecies | mus_field_module | Subroutine | Set parameters for multispecies |
| setToEquilibrium | mus_particle_MEM_module | Subroutine | setToEquilibrium sets elements to equilibrium distribution |
| slip_wall | mus_bc_fluid_wall_module | Subroutine | slip-wall boundary condition. Slip defined by a slip factor |
| sortposofval_particle_dps | mus_particle_DPS_type_module | Function | return the sorted position of a value in the given dynamic array |
| sortposofval_particle_mem | mus_particle_MEM_type_module | Function | return the sorted position of a value in the given dynamic array |
| spc_bb_vel_test | mus_bc_fluid_experimental_module | Subroutine | species bounce back velocity boundary Usage |
| spc_bb_wall | mus_bc_fluid_experimental_module | Subroutine | species bounce back wall boundary Usage |
| spc_blackbox_mem_ion | mus_bc_species_module | Subroutine | This routine computes mole diffusion flux of the ionic species at the membrance using black box model and then mass density at the membrane boundary from mole diffusion flux. Then equilibrium is set at the boundary which is computed from mass density and velocity |
| spc_blackbox_mem_solvent | mus_bc_species_module | Subroutine | This routine computes mole diffusion flux of the solvent at the membrance using black box model and then mass density at the membrane boundary from mole diffusion flux. Then equilibrium is set at the boundary which is computed from mass density and velocity |
| spc_inflow | mus_bc_species_module | Subroutine | Inflow boundary condition based on non-Equilbrium extrapolation method. Usage |
| spc_inlet | mus_bc_species_module | Subroutine | Inlet boundary condition for defined species velocity and mole fraction Usage |
| spc_inlet_eq | mus_bc_species_module | Subroutine | Inlet species velocity equilibrium boundary with specified mixture averaged mass velocity and its molefraction mixture kinematic pressure is extrapolated here. Density and velocity of all fields are used to compute equilibrium Usage |
| spc_mole_fraction_noneq_expol | mus_bc_species_module | Subroutine | Mole fraction boundary condition for nonequilibrium extrapolation based. Default qVal=0.0. Usage |
| spc_moleDens_eq | mus_bc_species_module | Subroutine | Mole density boundary condition Usage |
| spc_moleDiff_Flux | mus_bc_species_module | Subroutine | molar diffusion flux boundary condition Usage |
| spc_moleFlux | mus_bc_species_module | Subroutine | molar flux boundary condition like velocity bounce back bc type Usage |
| spc_moleFlux_eq | mus_bc_species_module | Subroutine | molar flux equilibrium boundary condition Usage |
| spc_moleFrac | mus_bc_species_module | Subroutine | Mole fraction boundary condition Usage |
| spc_moleFrac_eq | mus_bc_species_module | Subroutine | Mole fraction boundary condition Usage |
| spc_moleFrac_wtdf | mus_bc_species_module | Subroutine | Mole fraction boundary condition with thermodynamic factor Usage |
| spc_moments_moleFlux | mus_bc_species_module | Subroutine | molar flux boundary condition like moments velocity bc type Usage |
| spc_moments_moleFrac | mus_bc_species_module | Subroutine | Mole fraction boundary condition Usage |
| spc_moments_outflow | mus_bc_fluid_experimental_module | Subroutine | molar flux boundary condition like moments velocity bc type Usage |
| spc_moments_vel | mus_bc_species_module | Subroutine | velocity boundary condition like moments velocity bc type Usage |
| spc_moments_wall | mus_bc_species_module | Subroutine | Moment based wall boundary condition from Sam Bennent PhD thesis "A Lattice Boltzmann Model for Diffusion of Binary Gas Mixtures" |
| spc_outflow | mus_bc_species_module | Subroutine | Open outflow boundary condition based on nonequilibrium extrapolation method. Default qVal = 0.0 Usage |
| spc_outlet_eq | mus_bc_species_module | Subroutine | Outlet mixture pressure species equilibrium boundary kinematic pressure is computed from pressure species density and velocity are extrapolated Usage |
| spc_outlet_expol | mus_bc_species_module | Subroutine | species Outlet Pressure extrapolation boundary. NOT VERIFIED |
| spc_outlet_vel | mus_bc_species_module | Subroutine | Outlet species velocity equilibrium boundary with specified mixture averaged mass velocity. molefraction is extrapolated here. Usage |
| spc_outlet_zero_prsgrd | mus_bc_species_module | Subroutine | Outlet boundary conditions with zero pressure gradient. |
| spc_slip_wall | mus_bc_fluid_wall_module | Subroutine | slip-wall boundary condition. Slip defined by a slip factor |
| spc_solvent_inflow | mus_bc_species_module | Subroutine | Inflow boundary condition for solvent based on non-Equilbrium extrapolation method. Similar to spc_velocity_noneq_expol except the mass density for solvent is enforced such that total moleDens0 is maintained. Default qVal=1.0. Usage |
| spc_solvent_outflow | mus_bc_species_module | Subroutine | Open outflow boundary condition for solvent based on nonequilibrium extrapolation. total moledens at boundary is enforced. method. Default qVal = 0.0 Usage |
| spc_vel_bb | mus_bc_species_module | Subroutine | Inlet species velocity bounce back boundary with specified mixture averaged mass velocity and its molefraction mixture kinematic pressure is extrapolated here. Usage |
| spc_velocity_noneq_expol | mus_bc_species_module | Subroutine | Velocity boundary condition based on non-Equilbrium extrapolation method. Default qVal=1.0. Usage |
| start_stageTimer | mus_control_module | Subroutine | |
| stop_stageTimer | mus_control_module | Subroutine | |
| swap_da_particle_dps | mus_particle_DPS_type_module | Subroutine | swaps the position of two particles in particle dynamic array new position of ielem1 = old position of ielem2 and vice-versa also updates the pidlist and pidsort arrays |
| swap_da_particle_mem | mus_particle_MEM_type_module | Subroutine | swaps the position of two particles in particle dynamic array new position of ielem1 = old position of ielem2 and vice-versa also updates the pidlist and pidsort arrays |
| swap_grw_real2darray | mus_particle_blob_module | Subroutine | |
| swap_grw_realarray | mus_particle_blob_module | Subroutine | |
| swapFBuff | mus_particle_module | Subroutine | Swap index of the particle force buffer |
| swapMomNowMomLast | mus_particle_checks_module | Subroutine | |
| test_append_da_particle | mus_particle_type_module | Subroutine | |
| test_calcVelocityAndPressureGradient_DPS | mus_particle_tests_module | Subroutine | |
| test_compute_fluid_momentum | mus_particle_tests_module | Subroutine | |
| test_compute_particle_momentum | mus_particle_tests_module | Subroutine | |
| test_computeDisplacement | mus_particle_tests_module | Subroutine | |
| test_computeWallForces | mus_particle_tests_module | Subroutine | |
| test_DEM_fillNeighborList | mus_particle_tests_module | Subroutine | |
| test_generateElemListLine | mus_particle_tests_module | Subroutine | |
| test_global_errorcheck | mus_particle_tests_module | Subroutine | |
| test_interpolation_delta_DPS_d2q9 | mus_particle_tests_module | Subroutine | |
| test_interpolation_delta_DPS_d3q19 | mus_particle_tests_module | Subroutine | |
| test_intp1D_peskin | mus_particle_tests_module | Subroutine | |
| test_loopOverLocalLinks | mus_particle_module | Subroutine | |
| testParticleConnectivity | mus_particle_module | Subroutine | Routine for manually checking connectivity of particle elements, to be removed later |
| TGV_2D | mus_interpolate_debug_module | Function | This routine returns the analytical solution of TGV 2D testcase for a given position and time (coord, t) |
| transferMomentumToFluid_DPS | mus_particle_DPS_module | Subroutine | Routine that applies forces from particles to the fluid for unresolved DPS particles based on the VANS equations |
| transferMomentumToFluid_DPS_twoway | mus_particle_DPS_module | Subroutine | Routine that applies forces from particles to the fluid for unresolved DPS two-way coupled particles |
| translate_positions | mus_particle_blob_module | Subroutine | |
| treeIDlocalOnMyRank | mus_particle_aux_module | Function | |
| truncate_da_particle_dps | mus_particle_DPS_type_module | Subroutine | truncate the dynamic particle array to only fit the actual entries |
| truncate_da_particle_mem | mus_particle_MEM_type_module | Subroutine | truncate the dynamic particle array to only fit the actual entries |
| turbulent_wall | mus_bc_fluid_turbulent_module | Subroutine | BC routine for turbulent wall. It uses wall model to compute velocity on the boundary node. The implementation is based on the following paper: Haussmann, Marc; Ries, Florian; Jeppener-Haltenhoff, Jonathan B.; Li, Yongxiang; Schmidt, Marius; Welch, Cooper et al. (2020): Evaluation of a Near-Wall-Modeled Large Eddy Lattice Boltzmann Method for the Analysis of Complex Flows Relevant to IC Engines. In Computation 8 (2), p. 43. DOI: 10.3390/computation8020043. |
| turbulent_wall_eq | mus_bc_fluid_turbulent_module | Subroutine | BC routine for turbulent wall based on equilibrium BC. The implementation is based on the following paper: Haussmann, M. et al. (2019) ‘Large-eddy simulation coupled with wall models for turbulent channel flows at high Reynolds numbers with a lattice Boltzmann method — Application to Coriolis mass flowmeter’, Computers & Mathematics with Applications. Elsevier Ltd, 78(10), pp. 3285–3302. |
| turbulent_wall_eq_curved | mus_bc_fluid_turbulent_module | Subroutine | BC routine for turbulent wall based on equilibrium BC. The implementation is based on the following paper: Haussmann, M. et al. (2019) ‘Large-eddy simulation coupled with wall models for turbulent channel flows at high Reynolds numbers with a lattice Boltzmann method — Application to Coriolis mass flowmeter’, Computers & Mathematics with Applications. Elsevier Ltd, 78(10), pp. 3285–3302. |
| turbulent_wall_libb | mus_bc_fluid_turbulent_module | Subroutine | BC routine for turbulent wall. It uses wall model to compute velocity on the boundary node. The implementation is based on the following paper: Haussmann, Marc; Ries, Florian; Jeppener-Haltenhoff, Jonathan B.; Li, Yongxiang; Schmidt, Marius; Welch, Cooper et al. (2020): Evaluation of a Near-Wall-Modeled Large Eddy Lattice Boltzmann Method for the Analysis of Complex Flows Relevant to IC Engines. In Computation 8 (2), p. 43. DOI: 10.3390/computation8020043. |
| turbulent_wall_noneq_expol | mus_bc_fluid_turbulent_module | Subroutine | BC routine for turbulent wall based on Guo's nonequilibrium extrapolation. The implementation is based on the following paper: Haussmann, M. et al. (2019) ‘Large-eddy simulation coupled with wall models for turbulent channel flows at high Reynolds numbers with a lattice Boltzmann method — Application to Coriolis mass flowmeter’, Computers & Mathematics with Applications. Elsevier Ltd, 78(10), pp. 3285–3302. |
| turbulent_wall_noneq_expol_curved | mus_bc_fluid_turbulent_module | Subroutine | BC routine for turbulent wall based on Guo's nonequilibrium extrapolation. The implementation is based on the following paper: Haussmann, M. et al. (2019) ‘Large-eddy simulation coupled with wall models for turbulent channel flows at high Reynolds numbers with a lattice Boltzmann method — Application to Coriolis mass flowmeter’, Computers & Mathematics with Applications. Elsevier Ltd, 78(10), pp. 3285–3302. |
| update_BClists | mus_construction_module | Subroutine | Update the neighbor stencil positions for the Boundaries |
| update_connectivity | mus_geomIncr_module | Subroutine | Construct the propagation stencil for each element |
| updateCoordOfOrigin | mus_particle_MEM_module | Subroutine | updateCoordOfOrigin updates the integer coordinate of the origin of a particle |
| updateCoordOfOrigin_DPS | mus_particle_DPS_module | Subroutine | updateCoordOfOrigin updates the integer coordinate of the origin of a particle |
| updateExclusionList | mus_particle_MEM_module | Subroutine | UpdateExclusionList uses the continuous particle position and particle radius to determine which lattice elements belong to the particle. These are stored in the 'ExclusionList' of elements which do not participate in stream-and-collide. It also checks if particles exist or should exist on some other process and stores this information in the logical masks of the particle. |
| updateExistsOnProc | mus_particle_MEM_module | Subroutine | updateExistsOnProc updates the mask that tells us whether a particle exists on our neighboring procs. It does this by checking which processes are intersected by the bounding box of the particle + a "bumper" of one lattice cell to account for the fact that a particle can also exist on a proc as purely halos |
| updateExistsOnProc_DPS | mus_particle_DPS_module | Subroutine | updateExistsOnProc updates the boolean values of the array of neighbor procs that tell us whether the particle exists on that process or not. |
| updateFluidNeighbors | mus_particle_MEM_module | Subroutine | updateFluidNeighbors Runs over all particle elements (those in exclusionList) and then over each stencil direction. When it finds a fluid neighbor in a direction it sets the bounceback condition for that neighbor |
| updateNewFluidNodes | mus_particle_MEM_module | Subroutine | updateNewFluidNodes restores the correct connectivity for new fluid elements which were particle elements in the previous time step. |
| updateParticleForces | mus_particle_DEM_module | Subroutine | |
| updateParticleOwner | mus_particle_MEM_module | Subroutine | |
| updateParticleOwner | mus_particle_DPS_module | Subroutine | UpdateParticleOwner updates the "owner process" of each particle, which is the process responsible for performing operations (e.g. modifying velocity and position) on the particle and sending updates to other processes. |
| updatePositionEuler | mus_particle_DEM_module | Interface | |
| updatePositionEuler_DPS | mus_particle_DEM_module | Subroutine | Update particle continuous position using Euler integration |
| updatePositionEuler_MEM | mus_particle_DEM_module | Subroutine | Update particle continuous position using Euler integration |
| updatePositionVerlet | mus_particle_DEM_module | Interface | |
| updatePositionVerlet_DPS | mus_particle_DEM_module | Subroutine | Update particle position using Verlet integration |
| updatePositionVerlet_MEM | mus_particle_DEM_module | Subroutine | Update particle position using Verlet integration |
| updateSolidNodes | mus_particle_MEM_module | Subroutine | updateSolidNodes modifies connectivity of scheme%pdf%neigh such that the particle cells do not participate in the streaming process. Specifically it: * runs over the elements in this%exclusionList * sets kernel neighbor list values to the particle elements themselves. * This way they are effectively excluded from the streaming process. * Sets the property bit prp_solid to 1 to indicate elements belonging to a particle |
| updateVelocityEuler | mus_particle_DEM_module | Interface | |
| updateVelocityEuler_DPS | mus_particle_DEM_module | Subroutine | Update particle velocity according to current forces on particle using Euler integration |
| updateVelocityEuler_MEM | mus_particle_DEM_module | Subroutine | Update particle velocity according to current forces on particle using Euler integration |
| updateVelocityVerlet | mus_particle_DEM_module | Interface | |
| updateVelocityVerlet_DPS | mus_particle_DEM_module | Subroutine | Update particle velocity using Verlet integration |
| updateVelocityVerlet_MEM | mus_particle_DEM_module | Subroutine | Update particle velocity using Verlet integration |
| vec_fma | mus_test_module | Subroutine | Testing routine which performs fused multiplication and addtion on the state variable. The calculation is simple, so that the cost is mostly due to the data transfer through the memory interface. |
| vel_neq | mus_bc_fluid_module | Subroutine | Velocity Non-Equilibrium type boundary conditions from Guo, Z., & Shi, B. (2002). "Non-equilibrium extrapolation method for velocity and pressure boundary conditions in the lattice Boltzmann method." Chinese Physics, (November 2016). |
| velocity_bfl | mus_bc_fluid_module | Subroutine | Inlet Velocity BFL rule boundary condition |
| velocity_bfl_incomp | mus_bc_fluid_module | Subroutine | No comment yet! |
| velocity_bounceback | mus_bc_fluid_module | Subroutine | Inlet Velocity Bounce Back boundary condition with qvalues for compressible flows. It is similar to velocity_bounceback except the density is extrapolated from fluid element. |
| velocity_bounceback_incomp | mus_bc_fluid_module | Subroutine | Inlet Velocity Bounce Back boundary condition with qvalues |
| velocity_eq | mus_bc_fluid_module | Subroutine | Inlet Velocity Equilibrium type boundary conditions for weakly compressible lbm scheme |
| velocity_momentsbased | mus_bc_fluid_module | Subroutine | Moment based velocity boundary condition for weakly compressible LBM model Based on Sam Bennent PhD thesis "A Lattice Boltzmann Model for Diffusion of Binary Gas Mixtures" Usage |
| velocity_momentsbased_incomp | mus_bc_fluid_module | Subroutine | Moment based velocity boundary condition for incompressible LBM model Based on Sam Bennent PhD thesis "A Lattice Boltzmann Model for Diffusion of Binary Gas Mixtures" Usage |
| velocity_nonEqExpol | mus_bc_fluid_nonEqExpol_module | Subroutine | Element-wise Dirichlet velocity non-equilibrium boundary condition for straight boundary to update all directions. For straight wall, values are extrapolated along boundary normal instead of along the link and qVal =0.0 for straight wall. |
| velocity_nonEqExpol_curved | mus_bc_fluid_nonEqExpol_module | Subroutine | Linkwise Dirichlet velocity non-equilibrium boundary condition for curved using the subroutine "mus_set_nonEqExpol". For curved wall, values are extrapolated along element normal |
| viscPhy_CS | mus_nonNewtonian_module | Function | nonNewtonian Casson model |
| viscPhy_CY | mus_nonNewtonian_module | Function | nonNewtonian Carreau-Yasuda model |
| viscPhy_PL | mus_nonNewtonian_module | Function | nonNewtonian power-law model |
| wall_libb | mus_bc_fluid_wall_module | Subroutine | No comment yet! |
| weights_abg | mus_compute_cumulant_module | Function | Calculating central moment weights This follows equation 5 in cumulent paper (Geier .et al 2017) |
| weights_from_layout | mus_compute_cumulant_module | Function | allocate weights from D3Q27 ordered disposition to cumulant disposition |
| weights_ibg | mus_compute_cumulant_module | Function | Calculating central moment weights This follows equation 3 in cumulent paper (Geier .et al 2017) |
| weights_ijg | mus_compute_cumulant_module | Function | Calculating central moment weights This follows equation 3 in cumulent paper (Geier .et al 2017) |
| wrapPeriodicCoord | mus_particle_boundary_module | Subroutine | wrapPeriodicCoord modifies the input coord to take into account periodicity |
| wrapPeriodicPos | mus_particle_boundary_module | Subroutine |