proteus.mprans.CLSVOF module

class proteus.mprans.CLSVOF.NumericalFlux(vt, getPointwiseBoundaryConditions, getAdvectiveFluxBoundaryConditions, getDiffusiveFluxBoundaryConditions)[source]

Bases: proteus.NumericalFlux.Advection_DiagonalUpwind_Diffusion_IIPG_exterior

class proteus.mprans.CLSVOF.Coefficients(LS_model=None, V_model=0, RD_model=None, ME_model=1, checkMass=False, epsFact=0.0, useMetrics=0.0, setParamsFunc=None, movingDomain=False, forceStrongConditions=0, outputQuantDOFs=True, computeMetrics=0, doSpinUpStep=False, timeOrder=2, epsFactHeaviside=1.5, epsFactDirac=1.5, lambdaFact=1.0)[source]

Bases: proteus.TransportCoefficients.TC_base

initializeMesh(mesh)[source]
attachModels(modelList)[source]
initializeElementQuadrature(t, cq)[source]
initializeElementBoundaryQuadrature(t, cebq, cebq_global)[source]
initializeGlobalExteriorElementBoundaryQuadrature(t, cebqe)[source]
preStep(t, firstStep=False)[source]
postStep(t, firstStep=False)[source]
updateToMovingDomain(t, c)[source]
evaluate(t, c)[source]
class proteus.mprans.CLSVOF.LevelModel(uDict, phiDict, testSpaceDict, matType, dofBoundaryConditionsDict, dofBoundaryConditionsSetterDict, coefficients, elementQuadrature, elementBoundaryQuadrature, fluxBoundaryConditionsDict=None, advectiveFluxBoundaryConditionsSetterDict=None, diffusiveFluxBoundaryConditionsSetterDictDict=None, stressTraceBoundaryConditionsSetterDict=None, stabilization=None, shockCapturing=None, conservativeFluxDict=None, numericalFluxType=None, TimeIntegrationClass=None, massLumping=False, reactionLumping=False, options=None, name='defaultName', reuse_trial_and_test_quadrature=True, sd=True, movingDomain=False, bdyNullSpace=False)[source]

Bases: proteus.Transport.OneLevelTransport

nCalls = 0[source]
calculateCoefficients()[source]
assembleSpinUpSystem(residual, jacobian)[source]
updateVelocityFieldAsFunction()[source]
runAtEOS()[source]
getMetricsAtETS()[source]

Calculate some metrics at ETS (Every Time Step)

getMetricsAtEOS(u_exact)[source]
calculateElementResidual()[source]
FCTStep(limited_solution, soln, low_order_solution, high_order_solution, MassMatrix)[source]
getNormalReconstruction(weighted_mass_matrix)[source]
getLumpedMassMatrix()[source]
getResidual(u, r)[source]
getJacobian(jacobian)[source]
calculateElementQuadrature()[source]

Calculate the physical location and weights of the quadrature rules and the shape information at the quadrature points.

This function should be called only when the mesh changes.

calculateElementBoundaryQuadrature()[source]
calculateExteriorElementBoundaryQuadrature()[source]

Calculate the physical location and weights of the quadrature rules and the shape information at the quadrature points on global element boundaries.

This function should be called only when the mesh changes.

estimate_mt()[source]
calculateSolutionAtQuadrature()[source]
calculateAuxiliaryQuantitiesAfterStep()[source]
updateAfterMeshMotion()[source]