https://mooseframework.inl.gov
Loading...
Searching...
No Matches
GrainAdvectionAux.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 "AuxKernel.h"
15
16// Forward Declarations
17
23{
24public:
26
28
29protected:
31 virtual void precalculateValue();
33 virtual Real computeValue();
34
37
40
43 const std::vector<RealGradient> & _grain_forces;
44 const std::vector<RealGradient> & _grain_torques;
45
46private:
48 const Real _mt;
49
51 const Real _mr;
52
53 RealGradient _velocity_advection;
55};
std::vector< Real > VectorPostprocessorValue
Calculates the advection velocity of grain due to rigid body motion Reports the components of the vel...
static InputParameters validParams()
const std::vector< RealGradient > & _grain_forces
const GrainForceAndTorqueInterface & _grain_force_torque
getting userobject for calculating grain forces and torques
const Real _mr
constant value corresponding to grain rotation
virtual Real computeValue()
output the component of advection velocity
const VectorPostprocessorValue & _grain_volumes
The grain volumes.
const Real _mt
constant value corresponding to grain translation
RealGradient _velocity_advection
const std::vector< RealGradient > & _grain_torques
const GrainTrackerInterface & _grain_tracker
getting userobject for calculating grain centers and volumes
virtual void precalculateValue()
calculate the advection velocity
This class provides interface for extracting the forces and torques computed in other UserObjects.
This class defines the interface for the GrainTracking objects.
const InputParameters & parameters() const