HI Code Aster Users. I need to solve a linear static problem with a moment that evolves over time as a load. To do this I'm using MACRO_ELAS_MULT to solve an axis_fourier problem since the geometry is a pipe loaded with a moment, but this operator doesn't have LISTE_INST so I guess its not possible. The elastic problem is linear, so I could just solve it using a unitary moment and then convert the result over time just multiplying it by the real moment in time. So, I used macro_ligne_coupe to generate a table with the unitary results in the position of interest, and using python I create another table based on this one, but adding the INST column and adjusting it to the format 'aster' of a thermo-mechanical meca_static result that I had. Finally, I think the new table is ok, but it cannot be read by LIRE_TABLE with format 'aster' and that's the problem. The error is : Traceback (most recent call last):
File "./RunCase_11_Stage_1.comm.changed.py", line 19, in <module>
UNITE=3)
File "/opt/salome-meca/2023/V2023.1.0_scibian_10/tools/Code_aster_stable-1650/lib/aster/code_aster/Supervis/ExecuteCommand.py", line 180, in run
return cmd.run_(**kwargs)
File "/opt/salome-meca/2023/V2023.1.0_scibian_10/tools/Code_aster_stable-1650/lib/aster/code_aster/Supervis/ExecuteCommand.py", line 223, in run_
self.exec_(keywords)
File "/opt/salome-meca/2023/V2023.1.0_scibian_10/tools/Code_aster_stable-1650/lib/aster/code_aster/Supervis/ExecuteCommand.py", line 701, in exec_
output = self._op(self, **keywords)
File "/opt/salome-meca/2023/V2023.1.0_scibian_10/tools/Code_aster_stable-1650/lib/aster/code_aster/MacroCommands/lire_table_ops.py", line 57, in lire_table_ops
tab = reader.read(NUME_TABLE, check_para=check_para)
File "/opt/salome-meca/2023/V2023.1.0_scibian_10/tools/Code_aster_stable-1650/lib/aster/code_aster/MacroCommands/Utils/TableReader.py", line 270, in read
self.read_all_lines()
File "/opt/salome-meca/2023/V2023.1.0_scibian_10/tools/Code_aster_stable-1650/lib/aster/code_aster/MacroCommands/Utils/TableReader.py", line 93, in read_all_lines
values = self.read_line_i(i, line)
File "/opt/salome-meca/2023/V2023.1.0_scibian_10/tools/Code_aster_stable-1650/lib/aster/code_aster/MacroCommands/Utils/TableReader.py", line 242, in read_line_i
lerr = [error("TABLE0_11", vali=i + 1), error("TABLE0_13", vali=len(para))]
NameError: name 'error' is not defined
The table is :
Maybe you see the problem?
Thanks,
Juan