コード例 #1
0
ファイル: BovineApp.C プロジェクト: lindsayad/streamerPlasma
void
BovineApp::registerObjects(Factory & factory)
{
  registerKernel(ConstTimesDiffusion);
  registerKernel(FirstOrderReaction);
//  registerMaterial(DiffusionConst);
}
コード例 #2
0
ファイル: HeatConductionApp.C プロジェクト: acasagran/moose
void
HeatConductionApp::registerObjects(Factory & factory)
{
#undef registerObject
#define registerObject(name) factory.reg<name>(stringifyName(name))

#undef registerNamedObject
#define registerNamedObject(obj, name) factory.reg<obj>(name)

    registerNamedKernel(HeatConductionKernel, "HeatConduction");
    registerKernel(AnisoHeatConduction);
    registerKernel(HeatConductionTimeDerivative);
    registerKernel(HeatSource);
    registerBoundaryCondition(HeatConductionBC);
    registerBoundaryCondition(ConvectiveFluxFunction);
    registerBoundaryCondition(GapHeatTransfer);
    registerBoundaryCondition(CoupledConvectiveFlux);
    registerMaterial(GapConductance);
    registerMaterial(HeatConductionMaterial);
    registerMaterial(AnisoHeatConductionMaterial);
    registerDiracKernel(GapHeatPointSourceMaster);
    registerPostprocessor(ThermalCond);
    registerConstraint(GapConductanceConstraint);

#undef registerNamedObject
#define registerNamedObject(obj, name) factory.regLegacy<obj>(name)

#undef registerObject
#define registerObject(name) factory.regLegacy<name>(stringifyName(name))
}
コード例 #3
0
ファイル: ExampleApp.C プロジェクト: danielru/moose
void
ExampleApp::registerObjects(Factory & factory)
{
  registerKernel(ExampleConvection);
  registerKernel(ExampleDiffusion);
  registerKernel(ExampleTimeDerivative);
}
コード例 #4
0
ファイル: PfcApp.C プロジェクト: song2001/PFC
void
PfcApp::registerObjects(Factory & factory)
{
  registerInitialCondition(BoundingBoxFuncIC);   //<-- Register kernels here
  registerKernel(CoupledPFC); 
  registerKernel(BasePFC);
}
コード例 #5
0
ファイル: ExampleApp.C プロジェクト: ChaliZhg/moose
void
ExampleApp::registerObjects(Factory & factory)
{
  registerKernel(Convection);
  registerKernel(ExampleDiffusion);
  registerMaterial(ExampleMaterial);
}
コード例 #6
0
ファイル: TurkeyApp.C プロジェクト: Liuux/Turkey
void
TurkeyApp::registerObjects(Factory & factory)
{
	registerKernel(TemperatureTimeDerivative);
	registerKernel(HeatConductionKernel);
	registerKernel(DensitySourceKernel);
	registerKernel(PyrolysisSourceKernel);
	registerKernel(DarcyPressure);
	registerKernel(GasConvection);
	registerKernel(CoordMoveConvection);
	registerKernel(DisplaceTimeDerivative);
	registerKernel(DisplayDiffusion);
	registerKernel(QuickRhoChange);

	registerMaterial(PyrolysisMaterial);
	registerMaterial(IntegratedBCMaterial);
	registerMaterial(HeatFluxMaterial);
	registerMaterial(GiveHeatFluxMaterial);

	registerBoundaryCondition(IsoThermalBC);
    registerBoundaryCondition(HeatFluxBC);
	registerBoundaryCondition(HeatTransferBC);
	registerBoundaryCondition(PostprocessorFluxBC);
	registerBoundaryCondition(SurfaceRecessionBC);
	registerBoundaryCondition(HeatRadiationBC);
	registerBoundaryCondition(NormalRecessionBC);

	registerAux(PyrolysisGasVelocity);
	registerAux(PyrolysisRate);
	registerAux(GridMovement);
	registerAux(HeatFluxAuxKernel);
	registerAux(ShowK);


}
コード例 #7
0
void
ExampleApp::registerObjects(Factory & factory)
{
  registerKernel(Convection);
  registerKernel(GaussContForcing);                 // Extra forcing term
  registerBoundaryCondition(CoupledDirichletBC);    // Register our Boundary Conditions
  registerBoundaryCondition(CoupledNeumannBC);
}
コード例 #8
0
void
TardigradeApp::registerObjects(Factory & factory)
{
    registerMaterial(DiffusionNeutronicsMaterial);
    registerKernel(NeutronicDiffusion);
    registerKernel(NeutronicRemoval);
    registerKernel(NeutronicSource);
}
コード例 #9
0
ファイル: RedwingApp.C プロジェクト: adamLange/redwing
void
RedwingApp::registerObjects(Factory & factory)
{
  registerKernel(VectorPotentialA);
  registerKernel(VectorPotentialAJ0);
  registerBoundaryCondition(VectorPotentialABBC);
  registerMaterial(MuMaterial);
  registerBoundaryCondition(VectorPotentialABC);
}
コード例 #10
0
ファイル: TensorMechanicsApp.C プロジェクト: ChaliZhg/moose
void
TensorMechanicsApp::registerObjects(Factory & factory)
{
  registerKernel(StressDivergenceTensors);
  registerKernel(CosseratStressDivergenceTensors);
  registerKernel(MomentBalancing);
  registerKernel(StressDivergencePFFracTensors);
  registerKernel(GravityTM);

  registerMaterial(LinearElasticMaterial);
  registerMaterial(FiniteStrainElasticMaterial);
  registerMaterial(FiniteStrainPlasticMaterial);
  registerMaterial(FiniteStrainMohrCoulomb);
  registerMaterial(FiniteStrainRatePlasticMaterial);
  registerMaterial(FiniteStrainCrystalPlasticity);
  registerMaterial(ComputeMultiPlasticityStress);
  registerMaterial(CosseratLinearElasticMaterial);
  registerMaterial(ElementPropertyReadFileTest);
  registerMaterial(TwoPhaseStressMaterial);
  registerMaterial(MultiPhaseStressMaterial);
  registerMaterial(SimpleEigenStrainMaterial);
  registerMaterial(ComputeElasticityTensor);
  registerMaterial(ComputeIsotropicElasticityTensor);
  registerMaterial(ComputeSmallStrain);
  registerMaterial(ComputeIncrementalSmallStrain);
  registerMaterial(ComputeFiniteStrain);
  registerMaterial(ComputeLinearElasticStress);
  registerMaterial(ComputeFiniteStrainElasticStress);
  registerMaterial(Compute1PhaseEigenStrain);

  registerUserObject(TensorMechanicsPlasticSimpleTester);
  registerUserObject(TensorMechanicsPlasticTensile);
  registerUserObject(TensorMechanicsPlasticTensileMulti);
  registerUserObject(TensorMechanicsPlasticMohrCoulomb);
  registerUserObject(TensorMechanicsPlasticMohrCoulombMulti);
  registerUserObject(TensorMechanicsPlasticWeakPlaneTensile);
  registerUserObject(TensorMechanicsPlasticWeakPlaneTensileN);
  registerUserObject(TensorMechanicsPlasticWeakPlaneShear);
  registerUserObject(TensorMechanicsPlasticJ2);
  registerUserObject(TensorMechanicsHardeningConstant);
  registerUserObject(TensorMechanicsHardeningGaussian);
  registerUserObject(TensorMechanicsHardeningExponential);
  registerUserObject(TensorMechanicsHardeningCutExponential);
  registerUserObject(TensorMechanicsHardeningCubic);
  registerUserObject(ElementPropertyReadFile);

  registerAux(RankTwoAux);
  registerAux(RealTensorValueAux);
  registerAux(RankFourAux);
  registerAux(TensorElasticEnergyAux);
  registerAux(FiniteStrainPlasticAux);
  registerAux(CrystalPlasticitySlipSysAux);
  registerAux(CrystalPlasticityRotationOutAux);
  registerAux(RankTwoScalarAux);

  registerBoundaryCondition(PressureTM);
}
コード例 #11
0
ファイル: DarcyThermoMechApp.C プロジェクト: ChaliZhg/moose
void
DarcyThermoMechApp::registerObjects(Factory & factory)
{
  registerKernel(DarcyPressure);
  registerKernel(DarcyConvection);

  registerMaterial(PackedColumn);
  registerAux(DarcyVelocity);
  registerBoundaryCondition(HeatConductionOutflow);
}
コード例 #12
0
ファイル: ExampleApp.C プロジェクト: mellis13/moose
void
ExampleApp::registerObjects(Factory & factory)
{
  // Register our new executioner
  registerTimeStepper(TransientHalf);
  registerKernel(ExampleDiffusion);
  registerKernel(ExampleConvection);
  registerKernel(ExampleImplicitEuler);
  registerMaterial(ExampleMaterial);
}
コード例 #13
0
ファイル: MosquitoApp.C プロジェクト: nuclear-wizard/mosquito
void
MosquitoApp::registerObjects(Factory & factory)
{
  // Stuff Added for neutronic solve example
  registerMaterial(DiffusionNeutronicsMaterial);
  registerKernel(NeutronicDiffusion);
  registerKernel(NeutronicRemoval);
  registerKernel(NeutronicSource);
  // End neutronic example kernels
}
コード例 #14
0
void
ChemicalReactionsApp::registerObjects(Factory & factory)
{
#undef registerObject
#define registerObject(name) factory.reg<name>(stringifyName(name))

  registerKernel(PrimaryTimeDerivative);
  registerKernel(PrimaryConvection);
  registerKernel(PrimaryDiffusion);
  registerKernel(CoupledBEEquilibriumSub);
  registerKernel(CoupledConvectionReactionSub);
  registerKernel(CoupledDiffusionReactionSub);
  registerKernel(CoupledBEKinetic);
  registerKernel(DesorptionFromMatrix);
  registerKernel(DesorptionToPorespace);

  registerAux(AqueousEquilibriumRxnAux);
  registerAux(KineticDisPreConcAux);
  registerAux(KineticDisPreRateAux);

  registerBoundaryCondition(ChemicalOutFlowBC);

  registerMaterial(LangmuirMaterial);
  registerMaterial(MollifiedLangmuirMaterial);

#undef registerObject
#define registerObject(name) factory.regLegacy<name>(stringifyName(name))

}
コード例 #15
0
ファイル: SolidMechanicsApp.C プロジェクト: atomica/moose
void
SolidMechanicsApp::registerObjects(Factory & factory)
{
  registerAux(ElasticEnergyAux);
  registerAux(MaterialSymmElasticityTensorAux);
  registerAux(MaterialTensorAux);
  registerAux(MaterialVectorAux);
  registerAux(AccumulateAux);
  registerAux(NewmarkAccelAux);
  registerAux(NewmarkVelAux);
  registerAux(qFunctionJIntegral);
  registerAux(ElementsOnLineAux);

  registerBoundaryCondition(DashpotBC);
  registerBoundaryCondition(PresetVelocity);
  registerBoundaryCondition(Pressure);

  registerExecutioner(AdaptiveTransient);

  registerMaterial(AbaqusCreepMaterial);
  registerMaterial(AbaqusUmatMaterial);
  registerMaterial(CLSHPlasticMaterial);
  registerMaterial(CLSHPlasticModel);
  registerMaterial(CombinedCreepPlasticity);
  registerMaterial(Elastic);
  registerMaterial(ElasticModel);
  registerMaterial(IsotropicPlasticity);
  registerMaterial(LinearAnisotropicMaterial);
  registerMaterial(LinearGeneralAnisotropicMaterial);
  registerMaterial(LinearIsotropicMaterial);
  registerMaterial(LinearStrainHardening);
  registerMaterial(MacroElastic);
  registerMaterial(PLC_LSH);
  registerMaterial(PowerLawCreep);
  registerMaterial(PowerLawCreepModel);
  registerMaterial(SolidModel);
  registerMaterial(TrussMaterial);

  registerKernel(Gravity);
  registerKernel(HomogenizationKernel);
  registerKernel(SolidMechImplicitEuler);
  registerKernel(SolidMechInertialForce);
  registerKernel(StressDivergence);
  registerKernel(StressDivergenceRZ);
  registerKernel(StressDivergenceRSpherical);
  registerKernel(StressDivergenceTruss);
  registerKernel(HomogenizationHeatConduction);

  registerPostprocessor(HomogenizedThermalConductivity);
  registerPostprocessor(HomogenizedElasticConstants);
  registerPostprocessor(Mass);
  registerPostprocessor(JIntegral);
  registerPostprocessor(CavityPressurePostprocessor);

  registerTimeStepper(AdaptiveDT);

  registerUserObject(MaterialTensorOnLine);
  registerUserObject(CavityPressureUserObject);
  registerUserObject(CrackFrontDefinition);
}
コード例 #16
0
ファイル: PhaseFieldApp.C プロジェクト: Jieun2/moose
void
PhaseFieldApp::registerObjects(Factory & factory)
{
  registerKernel(MatDiffusion);
  registerKernel(ACInterface);
  registerKernel(CHMath);
  registerKernel(CHInterface);
  registerKernel(SplitCHWRes);
  registerKernel(SplitCHMath);
  registerKernel(CoupledImplicitEuler);
  registerKernel(ACGrGrPoly);
  registerKernel(ACGBPoly);
  registerInitialCondition(CrossIC);
  registerInitialCondition(SmoothCircleIC);
  registerInitialCondition(RndSmoothCircleIC);
  registerInitialCondition(MultiSmoothCircleIC);
  registerInitialCondition(LatticeSmoothCircleIC);
  registerInitialCondition(SpecifiedSmoothCircleIC);
  registerInitialCondition(RndBoundingBoxIC);
  registerInitialCondition(HexPolycrystalIC);
  registerInitialCondition(PolycrystalRandomIC);
  registerInitialCondition(PolycrystalReducedIC);
  registerInitialCondition(ThumbIC);
  registerInitialCondition(Tricrystal2CircleGrainsIC);
  registerMaterial(PFMobility);
  registerMaterial(GBEvolution);
  registerUserObject(NodalFloodCount);
  registerAux(NodalFloodCountAux);
  registerAux(BndsCalcAux);
//  registerAux(SPPARKSAux);
  registerUserObject(NodalVolumeFraction);
//  registerUserObject(SPPARKSUserObject);
}
コード例 #17
0
ファイル: ExampleApp.C プロジェクト: DarinReid/moose
void
ExampleApp::registerObjects(Factory & factory)
{
  registerKernel(Convection);

  // Our new Diffusion Kernel that accepts a material property
  registerKernel(ExampleDiffusion);

  // Register our new material class so we can use it.
  registerMaterial(ExampleMaterial);
}
コード例 #18
0
ファイル: FalconApp.C プロジェクト: anilkunwar/falcon
/*******************************************************************************
Routine: registerObjects
*******************************************************************************/
void
FalconApp::registerObjects(Factory & factory)
{
  /* AuxKernels */

  registerAux(PTDarcyFluxAux);
  registerAux(PTFluidVelocityAux);
  registerAux(VariableGradientAux);


  /* BCs */

  registerBoundaryCondition(PTEnergyInFlowBC);
  registerBoundaryCondition(PTEnergyOutFlowBC);
  registerBoundaryCondition(PTMassFluxBC);
  registerBoundaryCondition(PTMassFreeBC);

  /* DGKernels */


  /* DiracKernels */
  registerDiracKernel(PTEnergyPointSource);
  registerDiracKernel(PTMassPointSource);


  /* ICs */


  /* Kernel */

  // pressure & temperature based single-phase flow and heat
  registerKernel(PTEnergyResidual);
  registerKernel(PTEnergyTimeDerivative);
  registerKernel(PTMassResidual);
  registerKernel(PTMassTimeDerivative);


  // solid mechanics


  /* Materials */

  registerMaterial(PTGeothermal);


  /* PostProcessors */
  registerPostprocessor(PTEnergySideProductionIntegral);
  registerPostprocessor(PTMassSideFluxAverage);
  registerPostprocessor(PTMassSideFluxIntegral);

  /* UserObjects */
}
コード例 #19
0
ファイル: XFEMApp.C プロジェクト: zachmprince/moose
void
XFEMApp::registerObjects(Factory & factory)
{
  // AuxKernels
  registerAux(XFEMVolFracAux);
  registerAux(XFEMCutPlaneAux);
  registerAux(XFEMMarkerAux);

  // Constraints
  registerConstraint(XFEMSingleVariableConstraint);

  // UserObjects
  registerUserObject(XFEMMarkerUserObject);
  registerUserObject(XFEMMaterialTensorMarkerUserObject);
  registerUserObject(XFEMRankTwoTensorMarkerUserObject);

  // Geometric Cut User Objects
  registerUserObject(LineSegmentCutUserObject);
  registerUserObject(LineSegmentCutSetUserObject);
  registerUserObject(CircleCutUserObject);
  registerUserObject(EllipseCutUserObject);
  registerUserObject(RectangleCutUserObject);

  // DiracKernels
  registerDiracKernel(XFEMPressure);

  // Kernels
  registerKernel(CrackTipEnrichmentStressDivergenceTensors);

  // Materials
  registerMaterial(ComputeCrackTipEnrichmentSmallStrain);

  // BC's
  registerBoundaryCondition(CrackTipEnrichmentCutOffBC);
}
コード例 #20
0
void
DanpheApp::registerObjects(Factory & factory)
{
  //Kernel
  registerKernel(ElectricPotential);
  //registerKernel(CoupledPotential);
  registerKernel(SplitCHVoltage);
  registerKernel(MultiSorretDiffusion);
  //Auxkernel(s)
  registerAux(CurrentDensity);
  //Material
  registerMaterial(TinSheet);
  registerMaterial(VoltPFParamsPolyFreeEnergy);
  registerMaterial(ThermotransportParameter);
  registerMaterial(TemperatureDependentMaterial);
}
コード例 #21
0
ファイル: DarcyThermoMechApp.C プロジェクト: rogermue/moose
void
DarcyThermoMechApp::registerObjects(Factory & factory)
{
  registerKernel(DarcyPressure);
  registerMaterial(PackedColumn);
  registerAux(DarcyVelocity);
}
コード例 #22
0
ファイル: HeatConductionApp.C プロジェクト: Jieun2/moose
void
HeatConductionApp::registerObjects(Factory & factory)
{
  registerNamedKernel(HeatConductionKernel, "HeatConduction");
  registerKernel(HeatConductionTimeDerivative);
  registerKernel(HeatSource);
  registerBoundaryCondition(HeatConductionBC);
  registerBoundaryCondition(ConvectiveFluxFunction);
  registerBoundaryCondition(GapHeatTransfer);
  registerBoundaryCondition(BulkCoolantBC);
  registerBoundaryCondition(CoupledConvectiveFlux);
  registerMaterial(GapConductance);
  registerMaterial(HeatConductionMaterial);
  registerDiracKernel(GapHeatPointSourceMaster);
  registerPostprocessor(ThermalCond);
  registerConstraint(GapConductanceConstraint);
}
コード例 #23
0
ファイル: TadpoleApp.C プロジェクト: jhbradley/tadpole
void
TadpoleApp::registerObjects(Factory & factory)
{
  /*
   * Kernels
   */
   registerKernel(LaplaceYoung);
}
コード例 #24
0
ファイル: MiscApp.C プロジェクト: vpeter15/moose
void
MiscApp::registerObjects(Factory & factory)
{
  registerAux(CoupledDirectionalMeshHeightInterpolation);

  registerBoundaryCondition(RobinBC);

  registerKernel(BodyForceVoid);
  registerKernel(CoefDiffusion);
  registerKernel(Convection);
  registerKernel(JouleHeating);
  registerKernel(CoefTimeDerivative);
  registerKernel(GaussContForcing);
  registerKernel(ThermoDiffusion);

  registerMaterial(Density);

  registerUserObject(RigidBodyModesRZ);
  registerUserObject(RigidBodyModes3D);

  registerPostprocessor(InternalVolume);
  registerPostprocessor(SharpInterfaceForcing);

  registerPostprocessor(CInterfacePosition);
}
コード例 #25
0
ファイル: SolidMechanicsApp.C プロジェクト: JosephCor/moose
void
SolidMechanicsApp::registerObjects(Factory & factory)
{
  registerAux(ElasticEnergyAux);
  registerAux(MaterialSymmElasticityTensorAux);
  registerAux(MaterialTensorAux);
  registerAux(MaterialVectorAux);
  registerAux(AccumulateAux);
  registerAux(DomainIntegralQFunction);
  registerAux(DomainIntegralTopologicalQFunction);
  registerAux(ElementsOnLineAux);

  registerBoundaryCondition(DashpotBC);
  registerBoundaryCondition(PresetVelocity);
  registerBoundaryCondition(InteractionIntegralBenchmarkBC);

  registerMaterial(AbaqusCreepMaterial);
  registerMaterial(AbaqusUmatMaterial);
  registerMaterial(CLSHPlasticMaterial);
  registerMaterial(CLSHPlasticModel);
  registerMaterial(CombinedCreepPlasticity);
  registerMaterial(Elastic);
  registerMaterial(ElasticModel);
  registerMaterial(InteractionIntegralAuxFields);
  registerMaterial(IsotropicPlasticity);
  registerMaterial(IsotropicPowerLawHardening);
  registerMaterial(LinearAnisotropicMaterial);
  registerMaterial(LinearGeneralAnisotropicMaterial);
  registerMaterial(LinearIsotropicMaterial);
  registerMaterial(LinearStrainHardening);
  registerMaterial(MacroElastic);
  registerMaterial(PLC_LSH);
  registerMaterial(PowerLawCreep);
  registerMaterial(PowerLawCreepModel);
  registerMaterial(SolidModel);
  registerMaterial(RateDepSmearCrackModel);
  registerMaterial(RateDepSmearIsoCrackModel);

  registerKernel(HomogenizationKernel);
  registerKernel(SolidMechImplicitEuler);
  registerKernel(StressDivergence);
  registerKernel(OutOfPlaneStress);
  registerKernel(StressDivergenceRZ);
  registerKernel(StressDivergenceRSpherical);

  registerPostprocessor(HomogenizedElasticConstants);
  registerPostprocessor(JIntegral);
  registerPostprocessor(CrackFrontData);
  registerPostprocessor(InteractionIntegral);
  registerPostprocessor(CavityPressurePostprocessor);
  registerPostprocessor(MaterialTensorIntegral);
  registerPostprocessor(MixedModeEquivalentK);

  registerVectorPostprocessor(CrackDataSampler);
  registerVectorPostprocessor(LineMaterialSymmTensorSampler);

  registerUserObject(MaterialTensorOnLine);
  registerUserObject(CavityPressureUserObject);
  registerUserObject(CrackFrontDefinition);
}
コード例 #26
0
ファイル: MambaApp.C プロジェクト: pradchar/mamba
void
MambaApp::registerObjects(Factory & factory)
{
  // First come the kernels

  // Our new advection-diffusion kernel that accepts an auxKernel's aqueous species diffusivity,
  // the permeability material property, and the coupled pressure variable (of which the grad is taken)

  registerKernel(AdvectionForConcentration);
  registerKernel(DiffusionForConcentration);
  registerKernel(BoricAcidSinks);
//  registerAux(WaterSaturationTemperature);

  // Our new Darcy flow kernel that accepts the permeability material property

  registerKernel(PressureDarcy);

  // Our new thermal diffusion kernel that accepts the k_cond (thermal conductivity) material property

  registerKernel(ThermalDiffusion);
  registerKernel(AdvectionForHeat);

  // Next come the auxilliary kernels

  registerAux(TortuosityAux);
  registerAux(PorosityAux);
  registerAux(WaterSaturationTemperatureAux);
  registerAux(SuperheatTempAux);
  registerAux(PecletAux);
  registerAux(Precipitation_HBO2Aux);
  registerAux(BO3_SolubilityAux);

  // Next come the materials

  // Register our new CRUD material class so we can use it.

  registerMaterial(CRUDMaterial);

  // Next come the boundary conditions

  registerBoundaryCondition(CRUDCladNeumannBC);
  registerBoundaryCondition(CRUDCladNeumannBCMultiApp);
  registerBoundaryCondition(CRUDCoolantNeumannBC);
  registerBoundaryCondition(CoupledTsatDirichletBC);
  registerBoundaryCondition(ChimneyEvaporationNeumannBC);
  registerBoundaryCondition(CRUDChimneyConcentrationMixedBC);

  //userobjects
  registerUserObject(WaterSteamEOS);

  // Finally come the postprocessors
  registerPostprocessor(NodalMaxValueFileIO);
  registerPostprocessor(AreaAverageBoron);
}
コード例 #27
0
ファイル: LinearElasticityApp.C プロジェクト: atomica/moose
void
LinearElasticityApp::registerObjects(Factory & factory)
{
  registerMaterial(LinearElasticityMaterial);
  registerKernel(SolidMechX);
  registerKernel(SolidMechY);
  registerKernel(SolidMechZ);
  registerKernel(SolidMechTempCoupleX);
  registerKernel(SolidMechTempCoupleY);
  registerKernel(SolidMechTempCoupleZ);
}
コード例 #28
0
void
TensorMechanicsApp::registerObjects(Factory & factory)
{
  registerKernel(StressDivergenceTensors);
  registerKernel(CosseratStressDivergenceTensors);
  registerKernel(StressDivergenceRZTensors);
  registerKernel(StressDivergenceRSphericalTensors);
  registerKernel(MomentBalancing);
  registerKernel(StressDivergencePFFracTensors);
  registerKernel(PoroMechanicsCoupling);
  registerKernel(InertialForce);
  registerKernel(Gravity);
  registerKernel(DynamicStressDivergenceTensors);

  registerMaterial(LinearElasticMaterial);
  registerMaterial(FiniteStrainElasticMaterial);
  registerMaterial(FiniteStrainPlasticMaterial);
  registerMaterial(FiniteStrainMohrCoulomb);
  registerMaterial(FiniteStrainRatePlasticMaterial);
  registerMaterial(FiniteStrainCrystalPlasticity);
  registerMaterial(FiniteStrainCPSlipRateRes);
  registerMaterial(FiniteStrainUObasedCP);
  registerMaterial(ComputeMultiPlasticityStress);
  registerMaterial(CosseratLinearElasticMaterial);
  registerMaterial(ElementPropertyReadFileTest);
  registerMaterial(TwoPhaseStressMaterial);
  registerMaterial(MultiPhaseStressMaterial);
  registerMaterial(SimpleEigenStrainMaterial);
  registerMaterial(CompositeElasticityTensor);
  registerMaterial(ComputeElasticityTensor);
  registerMaterial(ComputeElasticityTensorCP);
  registerMaterial(ComputeIsotropicElasticityTensor);
  registerMaterial(ComputeSmallStrain);
  registerMaterial(ComputePlaneSmallStrain);
  registerMaterial(ComputePlaneFiniteStrain);
  registerMaterial(ComputeAxisymmetricRZSmallStrain);
  registerMaterial(ComputeRSphericalSmallStrain);
  registerMaterial(ComputeIncrementalSmallStrain);
  registerMaterial(ComputeFiniteStrain);
  registerMaterial(ComputeAxisymmetricRZFiniteStrain);
  registerMaterial(ComputeRSphericalFiniteStrain);
  registerMaterial(ComputeLinearElasticStress);
  registerMaterial(ComputeFiniteStrainElasticStress);
  registerMaterial(ComputeEigenstrain);
  registerMaterial(ComputeVariableEigenstrain);
  registerMaterial(ComputeConcentrationDependentElasticityTensor);
  registerMaterial(FiniteStrainHyperElasticViscoPlastic);
  registerMaterial(LinearIsoElasticPFDamage);
  registerMaterial(HyperElasticPhaseFieldIsoDamage);
  registerMaterial(ComputeVolumetricDeformGrad);
  registerMaterial(ComputeDeformGradBasedStress);
  registerMaterial(VolumeDeformGradCorrectedStress);
  registerMaterial(ComputeReturnMappingStress);
  registerMaterial(RecomputeRadialReturnStressIncrement);
  registerMaterial(RecomputeRadialReturnIsotropicPlasticity);

  registerUserObject(TensorMechanicsPlasticSimpleTester);
  registerUserObject(TensorMechanicsPlasticTensile);
  registerUserObject(TensorMechanicsPlasticTensileMulti);
  registerUserObject(TensorMechanicsPlasticMohrCoulomb);
  registerUserObject(TensorMechanicsPlasticMohrCoulombMulti);
  registerUserObject(TensorMechanicsPlasticWeakPlaneTensile);
  registerUserObject(TensorMechanicsPlasticWeakPlaneTensileN);
  registerUserObject(TensorMechanicsPlasticWeakPlaneShear);
  registerUserObject(TensorMechanicsPlasticJ2);
  registerUserObject(TensorMechanicsPlasticMeanCap);
  registerUserObject(TensorMechanicsHardeningConstant);
  registerUserObject(TensorMechanicsHardeningGaussian);
  registerUserObject(TensorMechanicsHardeningExponential);
  registerUserObject(TensorMechanicsHardeningCutExponential);
  registerUserObject(TensorMechanicsHardeningCubic);
  registerUserObject(ElementPropertyReadFile);
  registerUserObject(EulerAngleFileReader);
  registerUserObject(HEVPLinearHardening);
  registerUserObject(HEVPRambergOsgoodHardening);
  registerUserObject(HEVPEqvPlasticStrain);
  registerUserObject(HEVPEqvPlasticStrainRate);
  registerUserObject(HEVPFlowRatePowerLawJ2);
  registerUserObject(CrystalPlasticitySlipRateGSS);
  registerUserObject(CrystalPlasticitySlipResistanceGSS);
  registerUserObject(CrystalPlasticityStateVariableGSS);
  registerUserObject(CrystalPlasticityStateVarRateComponentGSS);

  registerAux(CylindricalRankTwoAux);
  registerAux(RankTwoAux);
  registerAux(RankFourAux);
  registerAux(TensorElasticEnergyAux);
  registerAux(CrystalPlasticityRotationOutAux);
  registerAux(RankTwoScalarAux);
  registerAux(NewmarkAccelAux);
  registerAux(NewmarkVelAux);

  registerBoundaryCondition(Pressure);
}
コード例 #29
0
ファイル: RichardsApp.C プロジェクト: AhmedAly83/moose
void
RichardsApp::registerObjects(Factory & factory)
{
  // UserObjects
  registerUserObject(RichardsVarNames);
  registerUserObject(RichardsDensityConstBulk);
  registerUserObject(RichardsDensityConstBulkCut);
  registerUserObject(RichardsDensityIdeal);
  registerUserObject(RichardsDensityMethane20degC);
  registerUserObject(RichardsDensityVDW);
  registerUserObject(RichardsRelPermMonomial);
  registerUserObject(RichardsRelPermPower);
  registerUserObject(RichardsRelPermVG);
  registerUserObject(RichardsRelPermVG1);
  registerUserObject(RichardsRelPermBW);
  registerUserObject(RichardsRelPermPowerGas);
  registerUserObject(Q2PRelPermPowerGas);
  registerUserObject(RichardsSeff1VG);
  registerUserObject(RichardsSeff1VGcut);
  registerUserObject(RichardsSeff1BWsmall);
  registerUserObject(RichardsSeff1RSC);
  registerUserObject(RichardsSeff2waterVG);
  registerUserObject(RichardsSeff2gasVG);
  registerUserObject(RichardsSeff2waterVGshifted);
  registerUserObject(RichardsSeff2gasVGshifted);
  registerUserObject(RichardsSeff2waterRSC);
  registerUserObject(RichardsSeff2gasRSC);
  registerUserObject(RichardsSat);
  registerUserObject(RichardsSUPGnone);
  registerUserObject(RichardsSUPGstandard);
  registerUserObject(RichardsSumQuantity);

  // AuxKernels
  registerAux(RichardsSatAux);
  registerAux(RichardsSatPrimeAux);
  registerAux(RichardsSeffAux);
  registerAux(RichardsSeffPrimeAux);
  registerAux(RichardsSeffPrimePrimeAux);
  registerAux(RichardsDensityAux);
  registerAux(RichardsDensityPrimeAux);
  registerAux(RichardsDensityPrimePrimeAux);
  registerAux(RichardsRelPermAux);
  registerAux(RichardsRelPermPrimeAux);
  registerAux(RichardsRelPermPrimePrimeAux);
  registerAux(DarcyFluxComponent);

  // Materials
  registerMaterial(RichardsMaterial);
  registerMaterial(PoroFullSatMaterial); // Used for mechanical coupling
  registerMaterial(DarcyMaterial);
  registerMaterial(Q2PMaterial);

  // DiracKernels
  registerDiracKernel(RichardsPolyLineSink);
  registerDiracKernel(RichardsBorehole);
  registerDiracKernel(Q2PBorehole);

  // Functions
  registerFunction(RichardsExcavGeom);
  registerFunction(GradParsedFunction);
  registerFunction(Grad2ParsedFunction);

  // Postprocessors
  registerPostprocessor(RichardsMass);
  registerPostprocessor(RichardsPiecewiseLinearSinkFlux);
  registerPostprocessor(RichardsHalfGaussianSinkFlux);
  registerPostprocessor(NodalMaxVarChange);
  registerPostprocessor(RichardsExcavFlow);
  registerPostprocessor(RichardsPlotQuantity);
  registerPostprocessor(Q2PPiecewiseLinearSinkFlux);

  // Kernels
  registerKernel(RichardsMassChange);
  registerKernel(RichardsLumpedMassChange);
  registerKernel(RichardsFlux);
  registerKernel(RichardsFullyUpwindFlux);
  registerKernel(RichardsPPenalty);
  registerKernel(PoroFullSatTimeDerivative); // Used for mechanical coupling
  registerKernel(DarcyFlux);
  registerKernel(Q2PPorepressureFlux);
  registerKernel(Q2PSaturationFlux);
  registerKernel(Q2PSaturationDiffusion);
  registerKernel(Q2PNodalMass);
  registerKernel(Q2PNegativeNodalMassOld);

  // BoundaryConditions
  registerBoundaryCondition(RichardsExcav);
  registerBoundaryCondition(RichardsPiecewiseLinearSink);
  registerBoundaryCondition(RichardsHalfGaussianSink);
  registerBoundaryCondition(Q2PPiecewiseLinearSink);

  // Problems
  registerProblem(RichardsMultiphaseProblem);
}
コード例 #30
0
ファイル: Moose.C プロジェクト: adamLange/moose
void
registerObjects(Factory & factory)
{
  // mesh
  registerMesh(FileMesh);
  registerMesh(GeneratedMesh);
  registerMesh(TiledMesh);

  // mesh modifiers
  registerMeshModifier(MeshExtruder);
  registerMeshModifier(SideSetsFromPoints);
  registerMeshModifier(SideSetsFromNormals);
  registerMeshModifier(AddExtraNodeset);
  registerMeshModifier(BoundingBoxNodeSet);
  registerMeshModifier(Transform);
  registerMeshModifier(SideSetsAroundSubdomain);
  registerMeshModifier(SideSetsBetweenSubdomains);
  registerMeshModifier(AddAllSideSetsByNormals);
  registerMeshModifier(SubdomainBoundingBox);
  registerMeshModifier(OrientedSubdomainBoundingBox);
  registerMeshModifier(RenameBlock);

  // problems
  registerProblem(FEProblem);
  registerProblem(DisplacedProblem);

  // kernels
  registerKernel(TimeDerivative);
  registerKernel(CoupledTimeDerivative);
  registerKernel(MassLumpedTimeDerivative);
  registerKernel(Diffusion);
  registerKernel(AnisotropicDiffusion);
  registerKernel(CoupledForce);
  registerKernel(UserForcingFunction);
  registerKernel(BodyForce);
  registerKernel(Reaction);
  registerKernel(MassEigenKernel);

  // bcs
  registerBoundaryCondition(ConvectiveFluxBC);
  registerBoundaryCondition(DirichletBC);
  registerBoundaryCondition(PenaltyDirichletBC);
  registerBoundaryCondition(PresetBC);
  registerBoundaryCondition(NeumannBC);
  registerBoundaryCondition(FunctionDirichletBC);
  registerBoundaryCondition(FunctionPenaltyDirichletBC);
  registerBoundaryCondition(FunctionPresetBC);
  registerBoundaryCondition(FunctionNeumannBC);
  registerBoundaryCondition(MatchedValueBC);
  registerBoundaryCondition(VacuumBC);

  registerBoundaryCondition(SinDirichletBC);
  registerBoundaryCondition(SinNeumannBC);
  registerBoundaryCondition(VectorNeumannBC);
  registerBoundaryCondition(WeakGradientBC);
  registerBoundaryCondition(DiffusionFluxBC);
  registerBoundaryCondition(PostprocessorDirichletBC);
  registerBoundaryCondition(OneDEqualValueConstraintBC);

  // dirac kernels
  registerDiracKernel(ConstantPointSource);

  // aux kernels
  registerAux(ConstantAux);
  registerAux(FunctionAux);
  registerAux(NearestNodeDistanceAux);
  registerAux(NearestNodeValueAux);
  registerAux(PenetrationAux);
  registerAux(ProcessorIDAux);
  registerAux(SelfAux);
  registerAux(GapValueAux);
  registerAux(MaterialRealAux);
  registerAux(MaterialRealVectorValueAux);
  registerAux(MaterialRealTensorValueAux);
  registerAux(MaterialStdVectorAux);
  registerAux(MaterialRealDenseMatrixAux);
  registerAux(MaterialStdVectorRealGradientAux);
  registerAux(DebugResidualAux);
  registerAux(BoundsAux);
  registerAux(SpatialUserObjectAux);
  registerAux(SolutionAux);
  registerAux(VectorMagnitudeAux);
  registerAux(ConstantScalarAux);
  registerAux(QuotientAux);
  registerAux(NormalizationAux);
  registerAux(FunctionScalarAux);
  registerAux(VariableGradientComponent);
  registerAux(ParsedAux);

  // Initial Conditions
  registerInitialCondition(ConstantIC);
  registerInitialCondition(BoundingBoxIC);
  registerInitialCondition(FunctionIC);
  registerInitialCondition(RandomIC);
  registerInitialCondition(ScalarConstantIC);
  registerInitialCondition(ScalarComponentIC);

  // executioners
  registerExecutioner(Steady);
  registerExecutioner(Transient);
  registerExecutioner(InversePowerMethod);
  registerExecutioner(NonlinearEigen);
#if defined(LIBMESH_HAVE_PETSC) && !PETSC_VERSION_LESS_THAN(3,4,0)
#if 0 // This seems to be broken right now -- doesn't work wiith petsc >= 3.4 either
  registerExecutioner(PetscTSExecutioner);
#endif
#endif

  // functions
  registerFunction(Axisymmetric2D3DSolutionFunction);
  registerFunction(ConstantFunction);
  registerFunction(CompositeFunction);
  registerNamedFunction(MooseParsedFunction, "ParsedFunction");
  registerNamedFunction(MooseParsedGradFunction, "ParsedGradFunction");
  registerNamedFunction(MooseParsedVectorFunction, "ParsedVectorFunction");
  registerFunction(PiecewiseConstant);
  registerFunction(PiecewiseLinear);
  registerFunction(SolutionFunction);
  registerFunction(PiecewiseBilinear);
  registerFunction(SplineFunction);
  registerFunction(PiecewiseMultilinear);
  registerFunction(LinearCombinationFunction);

  // materials
  registerMaterial(GenericConstantMaterial);
  registerMaterial(GenericFunctionMaterial);

  // PPS
  registerPostprocessor(AverageElementSize);
  registerPostprocessor(AverageNodalVariableValue);
  registerPostprocessor(NodalSum);
  registerPostprocessor(ElementAverageValue);
  registerPostprocessor(ElementAverageTimeDerivative);
  registerPostprocessor(ElementW1pError);
  registerPostprocessor(ElementH1Error);
  registerPostprocessor(ElementH1SemiError);
  registerPostprocessor(ElementIntegralVariablePostprocessor);
  registerPostprocessor(ElementIntegralMaterialProperty);
  registerPostprocessor(ElementL2Error);
  registerPostprocessor(ElementVectorL2Error);
  registerPostprocessor(ScalarL2Error);
  registerPostprocessor(EmptyPostprocessor);
  registerPostprocessor(NodalVariableValue);
  registerPostprocessor(NumDOFs);
  registerPostprocessor(TimestepSize);
  registerPostprocessor(RunTime);
  registerPostprocessor(PerformanceData);
  registerPostprocessor(NumElems);
  registerPostprocessor(NumNodes);
  registerPostprocessor(NumNonlinearIterations);
  registerPostprocessor(NumLinearIterations);
  registerPostprocessor(Residual);
  registerPostprocessor(ScalarVariable);
  registerPostprocessor(NumVars);
  registerPostprocessor(NumResidualEvaluations);
  registerDeprecatedObjectName(FunctionValuePostprocessor, "PlotFunction", "09/18/2015 12:00");
  registerPostprocessor(Receiver);
  registerPostprocessor(SideAverageValue);
  registerPostprocessor(SideFluxIntegral);
  registerPostprocessor(SideFluxAverage);
  registerPostprocessor(SideIntegralVariablePostprocessor);
  registerPostprocessor(NodalMaxValue);
  registerPostprocessor(NodalProxyMaxValue);
  registerPostprocessor(ElementalVariableValue);
  registerPostprocessor(ElementL2Norm);
  registerPostprocessor(NodalL2Norm);
  registerPostprocessor(NodalL2Error);
  registerPostprocessor(TotalVariableValue);
  registerPostprocessor(VolumePostprocessor);
  registerPostprocessor(AreaPostprocessor);
  registerPostprocessor(PointValue);
  registerPostprocessor(NodalExtremeValue);
  registerPostprocessor(ElementExtremeValue);
  registerPostprocessor(DifferencePostprocessor);
  registerPostprocessor(FunctionValuePostprocessor);
  registerPostprocessor(NumPicardIterations);
  registerPostprocessor(FunctionSideIntegral);
  registerPostprocessor(ExecutionerAttributeReporter);
  registerPostprocessor(PercentChangePostprocessor);
  registerPostprocessor(RealParameterReporter);

  // vector PPS
  registerVectorPostprocessor(ConstantVectorPostprocessor);
  registerVectorPostprocessor(NodalValueSampler);
  registerVectorPostprocessor(SideValueSampler);
  registerVectorPostprocessor(PointValueSampler);
  registerVectorPostprocessor(LineValueSampler);
  registerVectorPostprocessor(VectorOfPostprocessors);
  registerVectorPostprocessor(LeastSquaresFit);
  registerVectorPostprocessor(ElementsAlongLine);
  registerVectorPostprocessor(LineMaterialRealSampler);

  // user objects
  registerUserObject(LayeredIntegral);
  registerUserObject(LayeredAverage);
  registerUserObject(LayeredSideIntegral);
  registerUserObject(LayeredSideAverage);
  registerUserObject(LayeredSideFluxAverage);
  registerUserObject(NearestPointLayeredAverage);
  registerUserObject(ElementIntegralVariableUserObject);
  registerUserObject(NodalNormalsPreprocessor);
  registerUserObject(NodalNormalsCorner);
  registerUserObject(NodalNormalsEvaluator);
  registerUserObject(SolutionUserObject);
#ifdef LIBMESH_HAVE_FPARSER
  registerUserObject(Terminator);
#endif

  // preconditioners
  registerNamedPreconditioner(PhysicsBasedPreconditioner, "PBP");
  registerNamedPreconditioner(FiniteDifferencePreconditioner, "FDP");
  registerNamedPreconditioner(SingleMatrixPreconditioner, "SMP");
#if defined(LIBMESH_HAVE_PETSC) && !PETSC_VERSION_LESS_THAN(3,3,0)
  registerNamedPreconditioner(SplitBasedPreconditioner, "SBP");
#endif
  // dampers
  registerDamper(ConstantDamper);
  registerDamper(MaxIncrement);
  // DG
  registerDGKernel(DGDiffusion);
  registerBoundaryCondition(DGFunctionDiffusionDirichletBC);

  // Constraints
  registerConstraint(TiedValueConstraint);
  registerConstraint(CoupledTiedValueConstraint);
  registerConstraint(EqualValueConstraint);
  registerConstraint(EqualValueBoundaryConstraint);

  // Scalar kernels
  registerScalarKernel(ODETimeDerivative);
  registerScalarKernel(NodalEqualValueConstraint);
  registerScalarKernel(ParsedODEKernel);
  registerScalarKernel(QuotientScalarAux);

  // indicators
  registerIndicator(AnalyticalIndicator);
  registerIndicator(LaplacianJumpIndicator);
  registerIndicator(GradientJumpIndicator);

  // markers
  registerMarker(ErrorToleranceMarker);
  registerMarker(ErrorFractionMarker);
  registerMarker(UniformMarker);
  registerMarker(BoxMarker);
  registerMarker(OrientedBoxMarker);
  registerMarker(ComboMarker);
  registerMarker(ValueThresholdMarker);
  registerMarker(ValueRangeMarker);

  // splits
  registerSplit(Split);
  registerSplit(ContactSplit);

  // MultiApps
  registerMultiApp(TransientMultiApp);
  registerMultiApp(FullSolveMultiApp);
  registerMultiApp(AutoPositionsMultiApp);

  // time steppers
  registerTimeStepper(ConstantDT);
  registerTimeStepper(FunctionDT);
  registerTimeStepper(IterationAdaptiveDT);
  registerTimeStepper(SolutionTimeAdaptiveDT);
  registerTimeStepper(DT2);
  registerTimeStepper(PostprocessorDT);
  registerTimeStepper(AB2PredictorCorrector);
  // time integrators
  registerTimeIntegrator(SteadyState);
  registerTimeIntegrator(ImplicitEuler);
  registerTimeIntegrator(BDF2);
  registerTimeIntegrator(CrankNicolson);
  registerTimeIntegrator(ExplicitEuler);
  registerTimeIntegrator(RungeKutta2);
  registerDeprecatedObjectName(Dirk, "Dirk", "09/22/2015 12:00");
  registerTimeIntegrator(LStableDirk2);
  // predictors
  registerPredictor(SimplePredictor);
  registerPredictor(AdamsPredictor);

  // Transfers
#ifdef LIBMESH_HAVE_DTK
  registerTransfer(MultiAppDTKUserObjectTransfer);
  registerTransfer(MultiAppDTKInterpolationTransfer);
  registerTransfer(MoabTransfer);
#endif
  registerTransfer(MultiAppPostprocessorInterpolationTransfer);
  registerTransfer(MultiAppVariableValueSampleTransfer);
  registerTransfer(MultiAppVariableValueSamplePostprocessorTransfer);
  registerTransfer(MultiAppMeshFunctionTransfer);
  registerTransfer(MultiAppUserObjectTransfer);
  registerTransfer(MultiAppNearestNodeTransfer);
  registerTransfer(MultiAppCopyTransfer);
  registerTransfer(MultiAppInterpolationTransfer);
  registerTransfer(MultiAppPostprocessorTransfer);
  registerTransfer(MultiAppProjectionTransfer);
  registerTransfer(MultiAppPostprocessorToAuxScalarTransfer);

  // Outputs
#ifdef LIBMESH_HAVE_EXODUS_API
  registerOutput(Exodus);
#endif
#ifdef LIBMESH_HAVE_NEMESIS_API
  registerOutput(Nemesis);
#endif
  registerOutput(Console);
  registerOutput(CSV);
#ifdef LIBMESH_HAVE_VTK
  registerNamedOutput(VTKOutput, "VTK");
#endif
  registerOutput(Checkpoint);
  registerNamedOutput(XDA, "XDR");
  registerOutput(XDA);
  registerNamedOutput(GMVOutput, "GMV");
  registerOutput(Tecplot);
  registerOutput(Gnuplot);
  registerOutput(SolutionHistory);
  registerOutput(MaterialPropertyDebugOutput);
  registerOutput(VariableResidualNormsDebugOutput);
  registerOutput(TopResidualDebugOutput);
  registerNamedOutput(DOFMapOutput, "DOFMap");

  // Controls
  registerControl(RealFunctionControl);

  registered = true;
}