I'm trying to change the Domain of an Element.
For that purpose usage of
makes sense for me.
Anyway, it applies I've done a syntax error here.
Can anyone tell how to do it right ?
<< AceFEM`;
SMTInputData[];
SMTAddDomain[{
{"B1", "ML:SEPEQ1DFLEQ1DHooke", {}},
{"B2", "ML:SEPEQ1DFLEQ1DHooke", {}}
}];
SMTAddMesh[Polygon[{{0, 0}, {1, 0}, {1, 1}, {0, 1}}], "B1", "Q1", {3, 3}];
SMTAnalysis[];
(*Current Domain of Elmt.5*)
SMTElementData[{5},"Domain"](*evaluates {"B1"}*)
(*Try to set Elmt.5 to Domain "B2"*)
SMTElementData[{5},"Domain",{"B2"}]
SMTAnalysis
. Without this your example doesn't demonstrate the error you are asking about. I hope you don't mind... $\endgroup$