Hello everybody,
I would like to export forces from AnyBody for a FEA in Ansys. Therefore I looked at the FEA Ansys Interface Tutorial and followed every step that is described there. The AnyMechOutputFileForceExport class is working, as it is producing an xml-file in the desired folder. Unfortunately this xml-file is empty.
As a consequence, the APDL converter is not working as well, as it has no xml input to convert.
Here is my file export section from the main file:
AnyBodyStudy Study =
{
AnyFolder &Model = .Model;
tEnd = 10.0;
Gravity={0.0, -9.81, 0.0};
nStep = 5;AnyMechOutputFileForceExport FE_out = { FileName = "files_in/clavload.xml"; UseRefFrameOnOff = On; RefFrame = &.Main.HumanModel.BodyModel.Right.ShoulderArm.Seg.Clavicula.localrefframe; AllSegmentsInStudyOnOff = Off; XMLformatOnOff = On; //AllSegmentsInStudyOnOff = Off; Segments = {&.Main.HumanModel.BodyModel.Right.ShoulderArm.Seg.Clavicula}; }; // Overdeterminate solver is needed while using the // soft default mannequin drivers. Kinematics.SolverType = KinSolOverDeterminate; InitialConditions.SolverType = Kinematics.SolverType;
};
AnyOperationShellExec ConvertToAPDL={
Show=On;
FileName = "AnyFE2APDL.exe";
Arguments = "-i ..\files_in\clavload.xml -o ..\files_out -t ..\APDLTemplate.txt";
WorkDir="C:\Users\Biomechanik\Documents\AnyBody.7.3.x\AMMR.v2.3.0-Demo\Application\Examples\StandingModel_Vroni_FEM\AnyFE2APDL";
};
What is the reason for the empty xml-file? Is there anything I did wrong/ steps I forgot following the tutorial?
By the way, I don’t have AnyBody and Ansys on the same computer. Is this a problem when exporting the data from AnyBody?
Best regards,
Veronika