Hi, Borek
I want to apply an uniform initial strain field(for example, the normal strain in x direction are 1, other components are 0) on the structure meshed by the PlaneStress2d element. But I find OOFEM only supports the following structural load types.
if ( !strncasecmp(aClass, "boundarycondition", 5) ) {
newBC = new BoundaryCondition(number, domain);
} else if ( !strncasecmp(aClass, "deadweight", 5) ) {
newBC = new DeadWeight(number, domain);
}
//else if (! strncasecmp(aClass,"initialcondition",5))
// newBC = new InitialCondition(number,domain) ;
else if ( !strncasecmp(aClass, "nodalload", 5) ) {
newBC = new NodalLoad(number, domain);
}
#ifdef __SM_MODULE
if ( !strncasecmp(aClass, "structtemperatureload", 18) ) {
newBc = new StructuralTemperatureLoad(number, domain);
} else if ( !strncasecmp(aClass, "linearedgeload", 14) ) {
newBc = new LinearEdgeLoad(number, domain);
} else if ( !strncasecmp(aClass, "constantedgeload", 16) ) {
newBc = new ConstantEdgeLoad(number, domain);
} else if ( !strncasecmp(aClass, "constantsurfaceload", 19) ) {
newBc = new ConstantSurfaceLoad(number, domain);
} else if ( !strncasecmp(aClass, "usrdeftempfield", 15) ) {
newBc = new UserDefinedTemperatureField(number, domain);
} else if ( !strncasecmp(aClass, "tf1", 3) ) {
newBc = new TF1(number, domain);
} else if ( !strncasecmp(aClass, "pointload", 9) ) {
newBc = new PointLoad(number, domain);
}
None of them seems to serve my purpose. Of course, I can use the temperature load and change the thermal dilation vector accordingly to reach my purpose. But what I want to konw is, whether OOFEM supports the uniform initial strain field load type? If it does, what is the keyword to document this load in the data file? Many thanks.
Yours, djd