Model Class |
Namespace: Karamba.Models
The Model type exposes the following members.
Name | Description | |
---|---|---|
Model |
create a new, empty model
| |
Model(ListNode, ListFemMaterial, ListCroSec, ListModelElement, ListPointLoad, ListPointMass, ListMeshLoad, ListElementLoad, ListSupport, ListElemSet, DictionaryInt32, GravityLoad, ItemSelector, IdManager, Int32) |
create a model based on some input
|
Name | Description | |
---|---|---|
BoundingBox |
calculate the bounding box of the model
| |
element_selector | selector for getting elements based in their identifier | |
febmodel | C++-model connected to the C#-model | |
IsValid |
true if the model is valid
| |
Meshes | Get collection of shell meshes. | |
numLC |
number of load-cases in the model
| |
result_type | Type of model-case currently attached to the model | |
superimpFacsDisplacements | superimposition factors for displacements | |
superimpFacsStates | superimposition factors for stresses and cross section forces |
Name | Description | |
---|---|---|
add |
Adds a vertex to the model and returns its index
| |
buildFEModel |
builds the fe-model from the karamba-model.
| |
buildFEModel(Int32, Boolean) |
Build finite element model from given geometry with a minimum of _lc_number load cases.
| |
characteristicLength | calculates approximate maximum distance of two points in the model | |
check_loadcase_index |
check whether there are results available for the model and a specific load-case and throw an exception in case there are none
| |
check_results_availability |
check whether there are results available for the model and throw an exception in case there are none
| |
clearLoads | Clear all loads | |
Clone |
shallow clone the model
| |
cloneElements |
clone the model's elements. Must be done before changing them in order to avoid side-effects
| |
cloneMaterialList |
clone the model's materials. Must be done before changing them in order to avoid side-effects
| |
cloneNodes |
clone the model's nodes. Must be done before changing them in order to avoid side-effects
| |
clonePointLoads |
clone the model's point-loads. Must be done before changing them in order to avoid side-effects
| |
cloneSupportPosition |
clone the model's supports. Must be done before changing them in order to avoid side-effects
| |
cloneVertexPosition |
clone the model's vertex positions. Must be done before changing them in order to avoid side-effects
| |
createFemBeam(String) |
create FemBeam and RawBeam from beam identification string:
add CrossSection and element load information
| |
createFemBeam(Int32, ListInt32) |
create GrassBeam and ModelBeam from beam index number:
add CrossSection, Material and element load information
| |
crosec_ind | maps cross section guids to crosec indexes | |
deepCloneFEModel |
deep clone the C++-model
| |
Disassemble |
disassemble the model and ouput its parts
| |
displacementsReady |
true if model displacements have been calculated
| |
elementsByID |
returns list of elements that correspond to the given ids
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
fe2model |
update the model with data from the fe-model. Both models may be out of sync
after mappings were performed on the fe-model.
Has to be called before displaying the model or retrieving results
| |
fe2model_update_NII |
update the NII forces based on the fe-model
| |
femodelWasMapped |
gets called when a mapping was applied to the fe-model and the model needs an update
before display
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
fitForCalculation |
returns true if the model can be calculated
| |
fitForCalculationMsg |
returns message why model can not be calculated
| |
forcesReady |
true if forces in the model have been calculated
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
id_num |
return the element's identification number for anidentifier
| |
initLoadCaseFactors |
initialize the models load case factors
| |
initMaterialCroSecLists |
initialize the list of materials and cross sections
| |
mass |
mass of the model
| |
massAndCOG |
calculate the mass in kg and center of gravity of the model
| |
material_ind | maps material guids to material indexes | |
maxAbsLoad |
Calculates maximum absolute value of a point-load or mesh-load in the model which is used for scaling the load symbols
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
minmaxEpsX |
calculate min/max axial strain in model
| |
setCroSecGroupIds |
sets the cross section family indexes according to the values in the given dictionary
| |
setCroSecMaterial |
set the cross sections material. The crosssection references the material.
Add the material to the model if not already there and set the name
| |
setLoadCaseFactors |
set the load case factors and the superimposition factors for
calculating states and display displacements
| |
setNumberOfLoadcases |
this is used to limit the number of load-cases in case of eigenform- or natural frequency calculations
| |
syncNumberOfLoadcases |
synchronize the number of load-cases with the feb-model
| |
toString |
string representation of the model
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Transform |
transform the model
| |
updateDeformation |
Set position of displaced vertices in this model
Deform geometry of defl_model by adding displacements of given loadcase multiplied by factor.
| |
updateMaterialCroSecLists |
update the list of materials and cross sections
|
Name | Description | |
---|---|---|
beamsets | beamsets of the model | |
cro_guid2ind_ | maps cross section guids to crosec indexes | |
crosecs | cross sections of the model | |
dp | display properties | |
elems | elements of the model | |
eloads | element loads of the model | |
gravities | gravity definitions of the model | |
in_crosecs | list of cross sections which were input by the user when assembling the model | |
in_materials | list of materials which were input by the user when assembling the model | |
joints | joints of the model | |
loadCaseFacs_ | factors for each loadcase | |
mat_guid2ind_ | maps material guids to material indexes | |
materials | materials of the model | |
maxDisp | maximum displacement of all load-cases | |
maxEpsX | minimum strain in the structure - only valid if minmaxEpsX_isValid == true | |
minEpsX | minimum strain in the structure - only valid if minmaxEpsX_isValid == true | |
minmaxEpsX_isValid | true if min/max EpsX has been calculated | |
mloads | mesh-loads of the model | |
nodes | system nodes in their original position | |
number_of_created_finite_elements | number of elements which were computer generated in the course of e.g. splitting beams | |
ploads | point loads that act on the model | |
pmass | point masses of the model | |
superimpFacsDisplacements_ | factors for superimposing the displayed displacements | |
superimpFacsStates_ | factors for superimposing load cases | |
supports | supports of the model |