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

Pooyan Dadvand pooyan en cimne.upc.edu
Vie Abr 25 13:22:46 CEST 2014


I think the second and third are better. I see the inertia slightly better than mass.

 

However I don’t like the velocity. It is not generic and neither domain independent. Any other suggestion?

 

Bests,

 

Pooyan.

 

From: kratos-bounces en listas.cimne.upc.edu [mailto:kratos-bounces en listas.cimne.upc.edu] On Behalf Of Riccardo Rossi
Sent: viernes, 25 de abril de 2014 11:15
To: kratos
Subject: [Kratos] one more iteration concerning the change of the Element base class

 

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.

  <https://web.cimne.upc.edu/groups/publicacions/signatura/image002.png>  Imprimiu aquest missatge, només si és estrictament necessari.

------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://listas.cimne.upc.edu/pipermail/kratos/attachments/20140425/d99cb9d4/attachment.htm 


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