FEM: add some comments to material and calculix solver object
This commit is contained in:
@@ -67,3 +67,22 @@ class MaterialCommon(base_fempythonobject.BaseFemPythonObject):
|
||||
)
|
||||
obj.Category = ["Solid", "Fluid"] # used in TaskPanel
|
||||
obj.Category = "Solid"
|
||||
"""
|
||||
Some remarks to the category. Not finished, thus to be continued.
|
||||
|
||||
Following question need to be answered:
|
||||
Why use a attribute to split the object? If a new fem object is needed,
|
||||
a new fem object should be created. A new object will have an own Type
|
||||
and will be collected for the writer by this type.
|
||||
|
||||
The category should not be used in writer! This would be the border.
|
||||
If an fem object has to be distinguished in writer it should be an own
|
||||
fem object.
|
||||
|
||||
The category is just some helper to make it easier for the user to
|
||||
distinguish between different material categories.
|
||||
It can have own command, own icon, own make method. In material TaskPanel
|
||||
it can be distinguished which materials will be shown.
|
||||
|
||||
ATM in calculix writer the Category is used. See comments in CalculiX Solver.
|
||||
"""
|
||||
|
||||
@@ -317,3 +317,16 @@ def add_attributes(obj, ccx_prefs):
|
||||
)
|
||||
dimout = ccx_prefs.GetBool("BeamShellOutput", False)
|
||||
obj.BeamShellResultOutput3D = dimout
|
||||
|
||||
|
||||
"""
|
||||
Should there be some equation object for Calculix too.
|
||||
|
||||
Necessarily yes! The properties GeometricalNonlinearity,
|
||||
MaterialNonlinearity, ThermoMechSteadyState might be moved
|
||||
to the appropriate equation.
|
||||
|
||||
Furthermore the material Category should not be used in writer.
|
||||
See common materila object for more information. The equation
|
||||
should used instead to get this information needed in writer.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user