[Kratos] one more iteration concerning the change of the Element base class

Riccardo Rossi rrossi en cimne.upc.edu
Vie Abr 25 11:15:26 CEST 2014


Dear All,

here comes one more iteration on the proposed changes for the class Element
and Condition.

the last proposal was to introduce the methods

OPTION1
CalculateSecondDerivativesContributions(LHS,RHS,ProcessInfo) -->
calculation of the "acceleration proportional terms" (mass for CSD and CFD)
CalculateFirstDerivativesContributions(LHS,RHS,ProcessInfo) --> calculation
of the "velocity proportional terms" (damping for CSD, convective and
diffusive term for CFD)
CalculateLocalSystem(LHS,RHS,ProcessInfo) --> calculation of the
"displacement proportional terms" (stiffness for CSD and nothing for CFD)

we were proposing to use 3 variations of these methods, one to compute LHS
and RHS together,    one for LHS alone and a third one for RHS alone.
the names were choosen so to match the ones of the functions

GetSecondDerivativesVector --> in irreducible CSD gives back ACCELERATION
GetFirstDerivativesVector --> in irreducible CSD gives back VELOCITY
GetValuesVector --> DISPLACEMENT


after another round of discussion we arrived to the conclusion that the
name of such methods are too general and not easily understandable.



the proposal would be to use

OPTION2
CalculateInertiaContributions(LHS,RHS,ProcessInfo) --> calculation of the
"acceleration proportional terms" (mass for CSD and CFD)
CalculateVelocityContributions(LHS,RHS,ProcessInfo) --> calculation of the
"velocity proportional terms" (damping for CSD, convective and diffusive
term for CFD)
CalculateLocalSystem(LHS,RHS,ProcessInfo)

since this name are much more explanatory for "common application".




A comment received was that "CalculateMassContributions" would be more
fitting since it applies to structures, fluids but also to the thermal
problem for which "Inertia" does not really apply... this hence gives rise
to

OPTION3
CalculateMassContributions(LHS,RHS,ProcessInfo) --> calculation of the
"acceleration proportional terms" (mass for CSD and CFD)
CalculateVelocityContributions(LHS,RHS,ProcessInfo) --> calculation of the
"velocity proportional terms" (damping for CSD, convective and diffusive
term for CFD)
CalculateLocalSystem(LHS,RHS,ProcessInfo)






i would like everyone to comment on this, and to eventually vote for one of
the 3 options.









An important characteristics of this methods is that   all of such methods
shall OVERWRITE the values of LHS and RHS rather than summing to it.




Another, different, proposal is to

only implement the method with (LHS,RHS,ProcessInfo) and not the
alternatives with lesser arguments, passing through the ProcessInfo a
global_flag.

this would imply defining GLOBAL flags of the type:

EVALUATE_LHS
EVALUATE_RHS

the advantage of this option would be to reduce the number of available
functions, giving the "guarantee" that everyone will implement the same
methods.


please comment on this

Riccardo



















-- 


*Riccardo Rossi*

PhD, Civil Engineer


member of the Kratos Team: www.cimne.com/kratos

lecturer at Universitat Politècnica de Catalunya, BarcelonaTech (UPC)

Research fellow at International Center for Numerical Methods in
Engineering (CIMNE)


C/ Gran Capità, s/n, Campus Nord UPC, Ed. C1, Despatx C9

08034 – Barcelona – Spain – www.cimne.com  -

T.(+34) 93 401 56 96 skype: *rougered4*



 <http://www.cimne.com/>

 <https://www.facebook.com/cimne>
<http://blog.cimne.com/><http://vimeo.com/cimne><http://www.youtube.com/user/CIMNEvideos><http://www.linkedin.com/company/cimne><https://twitter.com/cimne>

Les dades personals contingudes en aquest missatge són tractades amb la
finalitat de mantenir el contacte professional entre CIMNE i voste. Podra
exercir els drets d'accés, rectificació, cancel·lació i oposició,
dirigint-se a cimne en cimne.upc.edu. La utilització de la seva adreça de
correu electronic per part de CIMNE queda subjecte a les disposicions de la
Llei 34/2002, de Serveis de la Societat de la Informació i el Comerç
Electronic.

 Imprimiu aquest missatge, només si és estrictament necessari.
 <http://www.cimne.com/>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://listas.cimne.upc.edu/pipermail/kratos/attachments/20140425/e445e4ad/attachment.htm 


Más información sobre la lista de distribución Kratos