|
| | std::cout<< "Solver not available - can't solve system of equations "<< std::endl;int main(){try{bool EnableSorptionHysteresis=false;bool EnableModiefiedTangentialStiffness=false;unsigned int NNodes;double Length=0.16;double Height=0.04;unsigned int NumElementsX=32;unsigned int NumElementsY=8;double ElementLength=Length/static_cast< double > (NumElementsX) |
| |
| NuTo::FullVector< double, Eigen::Dynamic > | x_Values_Ad ({0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9}) |
| |
| NuTo::FullVector< double, Eigen::Dynamic > | y_Values_Ad ({0.017, 0.03, 0.04, 0.048, 0.056, 0.066, 0.077, 0.092, 0.114}) |
| |
| NuTo::FullVector< double, Eigen::Dynamic > | x_Values_De ({0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9}) |
| |
| NuTo::FullVector< double, Eigen::Dynamic > | y_Values_De ({0.022, 0.039, 0.052, 0.062, 0.072, 0.083, 0.097, 0.118, 0.145}) |
| |
| AdsorptionFit | SetSupportPoints (1, 1, x_Values_Ad.Trans(), y_Values_Ad.Trans()) |
| |
| AdsorptionFit | SetDegree (3) |
| |
| AdsorptionFit | AddBoundaryCondition (0.0, 0.0) |
| |
| AdsorptionFit | AddBoundaryCondition (1.0, 0.141) |
| |
| AdsorptionFit | BuildDerived () |
| |
| DesorptionFit | SetSupportPoints (1, 1, x_Values_De.Trans(), y_Values_De.Trans()) |
| |
| NuTo::Structure | myStructure (2) |
| |
| myStructure | SetNumTimeDerivatives (2) |
| |
| myStructure | SetShowTime (false) |
| |
| myStructure | UseMaximumIndependentSets (true) |
| |
| myStructure | SectionSetThickness (mySection, Thickness) |
| |
| myStructure | ElementTotalSetSection (mySection) |
| |
| myStructure | ConstitutiveLawMultiPhysicsAddConstitutiveLaw (ConstLawMultiPhysics, ConstLawDryingShrinkage) |
| |
| myStructure | ConstitutiveLawMultiPhysicsAddConstitutiveLaw (ConstLawMultiPhysics, ConstLawLinearElastic) |
| |
| myStructure | ConstitutiveLawMultiPhysicsAddConstitutiveLaw (ConstLawMultiPhysics, ConstLawMoistureTransport) |
| |
| myStructure | ConstitutiveLawSetParameterDouble (ConstLawMultiPhysics, NuTo::Constitutive::eConstitutiveParameter::YOUNGS_MODULUS, YoungsModulus) |
| |
| myStructure | ConstitutiveLawSetParameterDouble (ConstLawMultiPhysics, NuTo::Constitutive::eConstitutiveParameter::POISSONS_RATIO, PoissonRatio) |
| |
| myStructure | ConstitutiveLawSetParameterDouble (ConstLawMultiPhysics, NuTo::Constitutive::eConstitutiveParameter::DENSITY, Density) |
| |
| myStructure | ConstitutiveLawSetParameterBool (ConstLawMultiPhysics,"ENABLE_MODIFIED_TANGENTIAL_STIFFNESS", EnableModiefiedTangentialStiffness) |
| |
| myStructure | ConstitutiveLawSetParameterBool (ConstLawMultiPhysics,"enable_sorption_hysteresis", EnableSorptionHysteresis) |
| |
| myStructure | ConstitutiveLawSetParameterDouble (ConstLawMultiPhysics,"boundary_TRANSPORT_CONSTANT_GAS_PHASE", BC_Surface_Moisture_Transfer_RH) |
| |
| myStructure | ConstitutiveLawSetParameterDouble (ConstLawMultiPhysics,"BOUNDARY_TRANSPORT_CONSTANT_WATER_PHASE", BC_Surface_Moisture_Transfer_WVF) |
| |
| myStructure | ConstitutiveLawSetParameterDouble (ConstLawMultiPhysics,"DENSITY_WATER_PHASE", WaterPhaseDensity) |
| |
| myStructure | ConstitutiveLawSetParameterDouble (ConstLawMultiPhysics,"DIFFUSION_CONSTANT_GAS_PHASE", VaporPhaseDiffusionCoefficient) |
| |
| myStructure | ConstitutiveLawSetParameterDouble (ConstLawMultiPhysics,"DIFFUSION_CONSTANT_WATER_PHASE", WaterPhaseDiffusionCoefficient) |
| |
| myStructure | ConstitutiveLawSetParameterDouble (ConstLawMultiPhysics,"DIFFUSION_EXPONENT_GAS_PHASE", VaporPhaseDiffusionExponent) |
| |
| myStructure | ConstitutiveLawSetParameterDouble (ConstLawMultiPhysics,"DIFFUSION_EXPONENT_WATER_PHASE", WaterPhaseDiffusionExponent) |
| |
| myStructure | ConstitutiveLawSetParameterDouble (ConstLawMultiPhysics,"GRADIENT_CORRECTION_ADSORPTION_DESORPTION", Kd) |
| |
| myStructure | ConstitutiveLawSetParameterDouble (ConstLawMultiPhysics,"GRADIENT_CORRECTION_DESORPTION_ADSORPTION", Ka) |
| |
| myStructure | ConstitutiveLawSetParameterDouble (ConstLawMultiPhysics,"MASS_EXCHANGE_RATE", MassExchangeRate) |
| |
| myStructure | ConstitutiveLawSetParameterDouble (ConstLawMultiPhysics,"POROSITY", Porosity) |
| |
| myStructure | ConstitutiveLawSetParameterDouble (ConstLawMultiPhysics,"SATURATION_DENSITY_GAS_PHASE", VaporPhaseSaturationDensity) |
| |
| myStructure | ConstitutiveLawSetParameterFullVectorDouble (ConstLawMultiPhysics,"polynomial_COEFFICIENTS_ADSORPTION", AdsorptionFit.GetPolynomialCoefficients()) |
| |
| myStructure | ConstitutiveLawSetParameterFullVectorDouble (ConstLawMultiPhysics,"POLYNOMIAL_COEFFICIENTS_DESORPTION", DesorptionFit.GetPolynomialCoefficients()) |
| |
| int | NodeNum (0) |
| |
| NuTo::FullVector< double, Eigen::Dynamic > | Coordinates (2) |
| |
| | for (unsigned int iY=0;iY< NumNodesY;iY++) |
| |
| myStructure | InterpolationTypeAdd (myInterpolationType, NuTo::Node::COORDINATES, NuTo::Interpolation::eTypeOrder::EQUIDISTANT1) |
| |
| myStructure | InterpolationTypeAdd (myInterpolationType, NuTo::Node::DISPLACEMENTS, NuTo::Interpolation::eTypeOrder::EQUIDISTANT1) |
| |
| myStructure | InterpolationTypeAdd (myInterpolationType, NuTo::Node::RELATIVEHUMIDITY, NuTo::Interpolation::eTypeOrder::EQUIDISTANT1) |
| |
| myStructure | InterpolationTypeAdd (myInterpolationType, NuTo::Node::WATERVOLUMEFRACTION, NuTo::Interpolation::eTypeOrder::EQUIDISTANT1) |
| |
| NuTo::FullVector< int, Eigen::Dynamic > | Nodes (4) |
| |
| myStructure | ElementTotalConvertToInterpolationType () |
| |
| myStructure | GroupAddNodeCoordinateRange (GRPNodes_Left, Direction, Min, Max) |
| |
| myStructure | GroupAddNodeCoordinateRange (GRPNodes_Right, Direction, Min, Max) |
| |
| myStructure | GroupAddNodeFunction (GRPNodes_Center, PickNodeFunction) |
| |
| myStructure | GroupAddNodeFunction (GRPNodes_SingleNodeLeft, PickSingleNodeLeftFunction) |
| |
| myStructure | GroupAddNodeFunction (GRPNodes_SingleNodeRight, PickSingleNodeRightFunction) |
| |
| myStructure | GroupAddNodeFunction (nodeGroupBoundary, GetBoundaryNodesLambda) |
| |
| myStructure | GroupAddElementsFromNodes (elemGroupBoundary, nodeGroupBoundary, false) |
| |
| myStructure | BoundaryElementsCreate (elemGroupBoundary, nodeGroupBoundary, myStructure.NodeGetNodePtr(BoundaryNodeID)) |
| |
| NuTo::FullMatrix< double, Eigen::Dynamic, Eigen::Dynamic > | DirectionX (2, 1) |
| |
| DirectionX | SetValue (0, 0, 1.0) |
| |
| NuTo::FullMatrix< double, Eigen::Dynamic, Eigen::Dynamic > | DirectionY (2, 1) |
| |
| DirectionY | SetValue (1, 0, 1.0) |
| |
| myStructure | ConstraintLinearSetDisplacementNodeGroup (GRPNodes_SingleNodeLeft, DirectionX, 0) |
| |
| myStructure | ConstraintLinearSetDisplacementNodeGroup (GRPNodes_SingleNodeLeft, DirectionY, 0) |
| |
| myStructure | ConstraintLinearSetDisplacementNodeGroup (GRPNodes_SingleNodeRight, DirectionY, 0) |
| |
| myStructure | SetNumProcessors (1) |
| |
| myStructure | CalculateMaximumIndependentSets () |
| |
| myStructure | NodeBuildGlobalDofs () |
| |