https://mooseframework.inl.gov
Loading...
Searching...
No Matches
GrainAdvectionVelocity.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 "Material.h"
16
17// Forward Declarations
18
24{
25public:
27
28 GrainAdvectionVelocity(const InputParameters & parameters);
29
30protected:
31 virtual void computeQpProperties();
32
35
38
41
42 const std::vector<RealGradient> & _grain_forces;
43 const std::vector<RealGradient> & _grain_torques;
44
45private:
47 const Real _mt;
49 const Real _mr;
50
51 const unsigned int _op_num;
52
54 const std::string _base_name;
55
58};
std::vector< Real > VectorPostprocessorValue
This Material calculates the advection velocity, it's divergence and derivatives acting on a particle...
static InputParameters validParams()
const GrainTrackerInterface & _grain_tracker
getting userobject for calculating grain centers and volumes
const GrainForceAndTorqueInterface & _grain_force_torque
getting userobject for calculating grain forces and torques
const std::vector< RealGradient > & _grain_forces
const VectorPostprocessorValue & _grain_volumes
The grain volumes.
const Real _mr
constant value corresponding to grain rotation
const std::string _base_name
type of force density material
MaterialProperty< std::vector< RealGradient > > & _velocity_advection
Material storing advection velocities of grains.
const Real _mt
constant value corresponding to grain translation
const std::vector< RealGradient > & _grain_torques
This class provides interface for extracting the forces and torques computed in other UserObjects.
This class defines the interface for the GrainTracking objects.