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