https://mooseframework.inl.gov
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 {
21 public:
23  INSFVAdvectionKernel(const InputParameters & params);
24  void initialSetup() override;
25 
26 protected:
27  bool skipForBoundary(const FaceInfo & fi) const override;
28 
33  virtual bool hasMaterialTimeDerivative() const = 0;
34 
39 
42 
45 
48 };
49 
50 inline ADRealVectorValue
52 {
55 }
Moose::FV::InterpMethod _advected_interp_method
The interpolation method to use for the advected quantity.
Moose::FV::InterpMethod _velocity_interp_method
The interpolation method to use for the velocity.
const FaceInfo * _face_info
Moose::StateArg determineState() const
THREAD_ID _tid
const RhieChowInterpolatorBase & _rc_vel_provider
The Rhie-Chow user object that provides us with the velocity.
INSFVAdvectionKernel(const InputParameters &params)
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.
bool skipForBoundary(const FaceInfo &fi) const override
virtual bool hasMaterialTimeDerivative() const =0
void initialSetup() override
An advection kernel that implements interpolation schemes specific to Navier-Stokes flow physics...
ADRealVectorValue velocity() const
This interface gives the inheriting class information about all the different boundary conditions tha...
static InputParameters validParams()