https://mooseframework.inl.gov
NSFVUtils.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "MathFVUtils.h"
13 
14 class MooseObject;
15 class InputParameters;
16 
17 namespace Moose
18 {
19 namespace FV
20 {
29 bool setInterpolationMethods(const MooseObject & obj,
30  Moose::FV::InterpMethod & advected_interp_method,
31  Moose::FV::InterpMethod & velocity_interp_method);
32 
37 }
38 }
39 
40 namespace NS
41 {
51 std::tuple<bool, ADReal, ADReal> isPorosityJumpFace(const Moose::Functor<ADReal> & porosity,
52  const FaceInfo & fi,
53  const Moose::StateArg & time);
54 }
bool setInterpolationMethods(const MooseObject &obj, Moose::FV::InterpMethod &advected_interp_method, Moose::FV::InterpMethod &velocity_interp_method)
Sets the advection and velocity interpolation methods.
Definition: NSFVUtils.C:21
InputParameters interpolationParameters()
Definition: NSFVUtils.C:41
std::tuple< bool, ADReal, ADReal > isPorosityJumpFace(const Moose::Functor< ADReal > &porosity, const FaceInfo &fi, const Moose::StateArg &time)
Checks to see whether the porosity value jumps from one side to the other of the provided face...
Definition: NSFVUtils.C:58
static const std::string porosity
Definition: NS.h:104