proteus.ShockCapturing module

A class hierarchy for shock capturing diffusion methods

Inheritance diagram of proteus.ShockCapturing

class proteus.ShockCapturing.ShockCapturing_base(coefficients, nd, shockCapturingFactor=0.25, lag=True)[source]

Bases: object

initializeElementQuadrature(mesh, t, cq)[source]
calculateNumericalDiffusion(q)[source]
updateShockCapturingHistory()[source]
proteus.ShockCapturing.ConstantDiffusion_SC[source]

alias of proteus.ShockCapturing.ShockCapturing_base

class proteus.ShockCapturing.ResGrad_SC(coefficients, nd, shockCapturingFactor=0.25, lag=True)[source]

Bases: proteus.ShockCapturing.ShockCapturing_base

calculateNumericalDiffusion(q)[source]
class proteus.ShockCapturing.ResGradFFDarcy_SC(coefficients, nd, shockCapturingFactor=0.25, lag=True)[source]

Bases: proteus.ShockCapturing.ShockCapturing_base

calculateNumericalDiffusion(q)[source]
class proteus.ShockCapturing.ResGradQuad_SC(coefficients, nd, shockCapturingFactor=0.25, lag=True, gradLag=True)[source]

Bases: proteus.ShockCapturing.ShockCapturing_base

calculateNumericalDiffusion(q)[source]
class proteus.ShockCapturing.Eikonal_SC(coefficients, nd, shockCapturingFactor=0.25, lag=True)[source]

Bases: proteus.ShockCapturing.ShockCapturing_base

calculateNumericalDiffusion(q)[source]
class proteus.ShockCapturing.ScalarAdvection_SC(coefficients, nd, shockCapturingFactor=0.5, lag=True)[source]

Bases: proteus.ShockCapturing.ShockCapturing_base

calculateNumericalDiffusion(q)[source]
class proteus.ShockCapturing.HamiltonJacobi_SC(coefficients, nd, shockCapturingFlag='1', shockCapturingFactor=0.5, lag=True)[source]

Bases: proteus.ShockCapturing.ShockCapturing_base

calculateNumericalDiffusion(q)[source]
class proteus.ShockCapturing.HamiltonJacobiJaffre_SC(coefficients, nd, shockCapturingFlag='1', shockCapturingFactor=0.5, lag=True, betaPower=0.1)[source]

Bases: proteus.ShockCapturing.ShockCapturing_base

calculateNumericalDiffusion(q)[source]
class proteus.ShockCapturing.JaffreGradU_SC(coefficients, nd, shockCapturingFlag='1', shockCapturingFactor=0.5, lag=True, betaPower=0.1)[source]

Bases: proteus.ShockCapturing.ShockCapturing_base

calculateNumericalDiffusion(q)[source]
class proteus.ShockCapturing.ResGradJuanes_SC(coefficients, nd, shockCapturingFactor=0.25, uSC=1.0, lag=True)[source]

Bases: proteus.ShockCapturing.ShockCapturing_base

calculateNumericalDiffusion(q)[source]
class proteus.ShockCapturing.ResGradDelayLag_SC(coefficients, nd, shockCapturingFactor=0.25, lag=True, nStepsToDelay=None)[source]

Bases: proteus.ShockCapturing.ResGrad_SC

initializeElementQuadrature(mesh, t, cq)[source]
updateShockCapturingHistory()[source]
class proteus.ShockCapturing.ResGradQuadDelayLag_SC(coefficients, nd, shockCapturingFactor=0.25, lag=True, nStepsToDelay=None, isotropic=False)[source]

Bases: proteus.ShockCapturing.ResGradQuad_SC

initializeElementQuadrature(mesh, t, cq)[source]
updateShockCapturingHistory()[source]
class proteus.ShockCapturing.NavierStokes_SC(coefficients, nd, shockCapturingFactor=0.25, lag=True, nStepsToDelay=None)[source]

Bases: proteus.ShockCapturing.ResGradQuad_SC

calculateNumericalDiffusion(q)[source]
initializeElementQuadrature(mesh, t, cq)[source]
updateShockCapturingHistory()[source]
class proteus.ShockCapturing.NavierStokes_SC_opt(coefficients, nd, shockCapturingFactor=0.25, lag=True, nStepsToDelay=None)[source]

Bases: proteus.ShockCapturing.ResGradQuad_SC

calculateNumericalDiffusion(q)[source]
initializeElementQuadrature(mesh, t, cq)[source]
updateShockCapturingHistory()[source]
class proteus.ShockCapturing.ResGradFFDarcyDelayLag_SC(coefficients, nd, shockCapturingFactor=0.25, lag=True, nStepsToDelay=None)[source]

Bases: proteus.ShockCapturing.ResGradFFDarcy_SC

initializeElementQuadrature(mesh, t, cq)[source]
updateShockCapturingHistory()[source]