Topic: How to add a new element where each node has one new dof?
Hi, ladies and gentlemen,
I want to add a new triangle element in src/sm. And each node has one new dof. The element may be like the tr1_ht.C and the new dof can be consider as Temperature. However, I am unfamiliar with heat transfer problem. My questions are listd below:
1. How to add a new dof? I have added the new dof information like the Temperature dof in
bcvaltype.h, cltypes.C, dofiditem.h, domain.C, domaintype.h, field.h, internalstatetype.h, materialmode.h, unknowntype.h.
Although oofem can be built with these changes, I receive a error that is "'p_f' cannot be resolved"(p_f is the new dof). Do I miss some files needed to be changed?
2. tr1_ht.C is based on transportelement. And transportelement.C is based on stationarytransportproblem. To me, heat transfer problem is more complicated than structural one. In src/sm, can I add the element like trplanstrss.C?
3. If the new element can be write like trplanstrss.C, does it base on structural2delement.h? And how to make the link between the new dof and the element's node?
Thank u for watching this message. And I would appreciate ur help.
zhuang ^_^