ISAAR.MSolve.SamplesConsole/Preprocessing/PreprocessorModel.cs
/// <summary>
/// Initializes a model for 2D plane strain problems.
/// </summary>
/// <param name="planeStrainMaterial">The material properties for a plane strain problem. For now they must be the same  
///     for the whole domain.</param>
/// <returns></returns>
Initializes a model for 2D plane strain problems.
Initializes a model for 2D plane strain problems .
public static PreprocessorModel Create2DPlaneStrain(ElasticMaterial2D planeStrainMaterial) 
        {
            if (planeStrainMaterial.StressState != StressState2D.PlaneStrain)
            {
                throw new ArgumentException("The provided material is not for plane strain problems");
            }
            return new PreprocessorModel(ProblemDimensions.TwoDimensionalPlaneStrain, 1.0, planeStrainMaterial);
        }
public static PreprocessorModel Create2DPlaneStrain ( ElasticMaterial2D planeStrainMaterial ) { if ( planeStrainMaterial . StressState != StressState2D . PlaneStrain ) { throw new ArgumentException ( " " ) ; } return new PreprocessorModel ( ProblemDimensions . TwoDimensionalPlaneStrain , 1.0 , planeStrainMaterial ) ; }
Initializes a model for 2D plane strain problems.
Initializes a model for 2D plane strain problems .
//TODO: extend this for non linear materials
None
planeStrainMaterial
ElasticMaterial2D
The material properties for a plane strain problem. For now they must be the same
for the whole domain.
The material properties for a plane strain problem . For now they must be the same for the whole domain .