<reponame>acatwithacomputer/proteus<filename>proteus/tests/CLSVOF/with_RANS3PF/ls_p.py
from __future__ import absolute_import
from builtins import object
from proteus import *
from proteus.default_p import *
from .multiphase import *
from proteus.mprans import NCLS3P

LevelModelType = NCLS3P.LevelModel
coefficients = NCLS3P.Coefficients(V_model=V_model,
                                   RD_model=RD_model,
                                   ME_model=LS_model,
                                   checkMass=False,
                                   useMetrics=useMetrics,
                                   epsFact=epsFact_consrv_heaviside,
                                   sc_uref=ls_sc_uref,
                                   sc_beta=ls_sc_beta,
                                   movingDomain=movingDomain,
                                   EXPLICIT_METHOD=EXPLICIT_NCLS,
                                   outputQuantDOFs=True)

def getDBC_ls(x,flag):
    return None

dirichletConditions = {0:getDBC_ls}

advectiveFluxBoundaryConditions =  {}
diffusiveFluxBoundaryConditions = {0:{}}

class PHI_IC(object):
    def uOfXT(self,x,t):
        return signedDistance(x)

initialConditions  = {0:PHI_IC()}

from __future__ import absolute_import
from builtins import object
from proteus import *
from proteus.default_p import *
from .multiphase import *
from proteus.mprans import NCLS3P

LevelModelType = NCLS3P.LevelModel
coefficients = NCLS3P.Coefficients(V_model=V_model,
                                   RD_model=RD_model,
                                   ME_model=LS_model,
                                   checkMass=False,
                                   useMetrics=useMetrics,
                                   epsFact=epsFact_consrv_heaviside,
                                   sc_uref=ls_sc_uref,
                                   sc_beta=ls_sc_beta,
                                   movingDomain=movingDomain,
                                   EXPLICIT_METHOD=EXPLICIT_NCLS,
                                   outputQuantDOFs=True)

def getDBC_ls(x,flag):
    return None

dirichletConditions = {0:getDBC_ls}

advectiveFluxBoundaryConditions =  {}
diffusiveFluxBoundaryConditions = {0:{}}

class PHI_IC(object):
    def uOfXT(self,x,t):
        return signedDistance(x)

initialConditions  = {0:PHI_IC()}