https://mooseframework.inl.gov
Loading...
Searching...
No Matches
INSFVAdvectionKernel.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 "FVFluxKernel.h"
13#include "INSFVBCInterface.h"
14
20{
21public:
24 void initialSetup() override;
25
26protected:
27 bool skipForBoundary(const FaceInfo & fi) const override;
28
33 virtual bool hasMaterialTimeDerivative() const = 0;
34
39
42
45
48};
49
const FaceInfo * _face_info
An advection kernel that implements interpolation schemes specific to Navier-Stokes flow physics.
bool skipForBoundary(const FaceInfo &fi) const override
ADRealVectorValue velocity() const
Moose::FV::InterpMethod _velocity_interp_method
The interpolation method to use for the velocity.
virtual bool hasMaterialTimeDerivative() const =0
Moose::FV::InterpMethod _advected_interp_method
The interpolation method to use for the advected quantity.
static InputParameters validParams()
const RhieChowInterpolatorBase & _rc_vel_provider
The Rhie-Chow user object that provides us with the velocity.
This interface gives the inheriting class information about all the different boundary conditions tha...
THREAD_ID _tid
virtual VectorValue< ADReal > getVelocity(const Moose::FV::InterpMethod m, const FaceInfo &fi, const Moose::StateArg &time, const THREAD_ID tid, bool subtract_mesh_velocity) const =0
Retrieve a face velocity.
Moose::StateArg determineState() const