https://mooseframework.inl.gov
Loading...
Searching...
No Matches
INSADMomentumMeshAdvection.C
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
11#include "INSADObjectTracker.h"
12
14
17{
18 auto params = emptyInputParameters();
19 params.addRequiredCoupledVar("disp_x", "The x displacement");
20 params.addCoupledVar("disp_y", "The y displacement");
21 params.addCoupledVar("disp_z", "The z displacement");
22 return params;
23}
24
27{
31 "Corrects the convective derivative for situations in which the fluid mesh is dynamic.");
32 return params;
33}
34
36 : ADVectorKernelValue(parameters),
37 _advected_mesh_strong_residual(
38 getADMaterialProperty<RealVectorValue>("advected_mesh_strong_residual"))
39{
41}
42
registerMooseObject("NavierStokesApp", INSADMomentumMeshAdvection)
InputParameters emptyInputParameters()
static InputParameters validParams()
Subtracts the mesh velocity from the convection term in the Navier-Stokes momentum equation.
INSADMomentumMeshAdvection(const InputParameters &parameters)
const ADMaterialProperty< RealVectorValue > & _advected_mesh_strong_residual
The strong residual for this object, computed by material classes to eliminate computation duplicatio...
static void setDisplacementParams(T &mesh_convection_obj)
static InputParameters displacementParams()
static InputParameters validParams()
virtual ADRealVectorValue precomputeQpResidual() override
void addClassDescription(const std::string &doc_string)
unsigned int _qp