Error in Transient thermal Model

Noti
Noti Altair Community Member
edited January 2021 in Community Q&A

Hello all, 

im working on a pmsm and i switched from the transied magnetic model to the transient thermal model, im getting the following while i check the physics  error: 

 

image

 

 

The full error i get is

 

: OCRI04 => Number RB.F3D.THERMIQUE_SURF_2D_I(0) out of bounds
OCRI04 => Retrieval of INTEGER attribute aborted
RG_R_OPAQ => failed
RGFMA1 => Failed
RGFTOU => failed
FL6VPB => Failed ...
FL6VPB_1 => Failed ...
executeAlgo_c => failed
stdcom.error.SoftwareFortranException: executeAlgo_c : Execution failed.
Failed execution
at cad.core.common.error.ErrorManager.createFortranException(ErrorManager.java:170)
at cad.flux.kernel.dbmanager.FGCProjectDbWrapper.executeAlgo(Native Method)
at cad.flux.kernel.dbmanager.FGCProjectDbAdapter.executeAlgo(FGCProjectDbAdapter.java:902)
at cad.flux.kernel.dbmanager.FGCDbManager.executeAlgo(FGCDbManager.java:151)
at cad.flux.kernel.FGSupervisor.executeNativeCommand(FGSupervisor.java:2180)
at cad.core.kernel.Supervisor.executeCommand(Supervisor.java:2046)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:188)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:206)
at org.python.core.PyObject.__call__(PyObject.java:526)
at org.python.core.PyObject.__call__(PyObject.java:530)
at org.python.core.PyMethod.__call__(PyMethod.java:156)
at pydb$py.executeCommand$204(pydb.py:1608)
at pydb$py.call_function(pydb.py)
at org.python.core.PyTableCode.call(PyTableCode.java:171)
at org.python.core.PyBaseCode.call(PyBaseCode.java:171)
at org.python.core.PyFunction.__call__(PyFunction.java:434)
at org.python.core.PyMethod.__call__(PyMethod.java:156)
at pydb$py.__call__$177(pydb.py:1423)
at pydb$py.call_function(pydb.py)
at org.python.core.PyTableCode.call(PyTableCode.java:171)
at org.python.core.PyBaseCode.call(PyBaseCode.java:308)
at org.python.core.PyBaseCode.call(PyBaseCode.java:199)
at org.python.core.PyFunction.__call__(PyFunction.java:482)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237)
at org.python.core.PyMethod.__call__(PyMethod.java:228)
at org.python.core.PyMethod.__call__(PyMethod.java:223)
at org.python.core.PyObject.invoke(PyObject.java:3715)
at org.python.core.PyInstance.instance___call__(PyInstance.java:377)
at org.python.core.PyInstance.__call__(PyInstance.java:372)
at org.python.core.PyObject.__call__(PyObject.java:475)
at org.python.core.PyObject.__call__(PyObject.java:479)
at org.python.pycode._pyx180.f$0(<input>:1)
at org.python.pycode._pyx180.call_function(<input>)
at org.python.core.PyTableCode.call(PyTableCode.java:171)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1625)
at org.python.core.Py.exec(Py.java:1669)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:276)
at cad.core.kernel.components.PythonWrapper.runCode(PythonWrapper.java:628)
at cad.core.kernel.components.PythonWrapper.runsource(PythonWrapper.java:623)
at cad.core.kernel.components.PythonWrapper.runsource(PythonWrapper.java:598)
at cad.core.kernel.components.PythonWrapper.runsource(PythonWrapper.java:593)
at cad.core.kernel.components.PythonWrapper.execute(PythonWrapper.java:638)
at cad.core.kernel.components.PythonWrapper.executeFunction(PythonWrapper.java:706)
at cad.core.kernel.encoder.CommandServerRequestsInputPlug.executeCommand(CommandServerRequestsInputPlug.java:79)
at stdcom.protocole.commandserverrequests.CommandServerRequestsRouter.executeCommand(CommandServerRequestsRouter.java:70)
at stdcom.protocole.commandserverrequests.CommandServerRequestsOutputPlug.executeCommand(CommandServerRequestsOutputPlug.java:111)
at cad.core.frontal.decoder.FrontalDecoder.executeCommand(FrontalDecoder.java:692)
at cad.core.frontal.actions.implementation.GeneralAction.executeBox(GeneralAction.java:286)
at cad.core.frontal.actions.implementation.GeneralAction.act(GeneralAction.java:228)
at cad.core.frontal.actions.implementation.ModlessImplementer.internalRun(ModlessImplementer.java:64)
at cad.core.frontal.frontalthread.WorkerThread.executeImplementer(WorkerThread.java:226)
at cad.core.frontal.frontalthread.WorkerThread.run(WorkerThread.java:274)

 

 

Any advice ?

 

Thank you & regards 

Tagged:

Answers

  • Farid zidat_20516
    Farid zidat_20516
    Altair Employee
    edited January 2021

    Hi Noti;

     

    Can you please share your Flux project please ?

     

    Regards 

  • Noti
    Noti Altair Community Member
    edited January 2021

    Hello, 

     

    i uploaded it. 

     

    regards 

     

  • Farid zidat_20516
    Farid zidat_20516
    Altair Employee
    edited January 2021

    Hi Noti;

     

    Thank you for uploading your project.

    I had a look on the project, and actually it is not fully defined, once you made application translation, you have to complete all the physical definition. For instance, there is no boundary conditions. The air or vacum region can be considered as inactive thermal region when you use boudary condition.

     

    To better understand the workflow, please have a look first on the example available from the supervisor.

     

    Best regards 

    image

  • Noti
    Noti Altair Community Member
    edited January 2021

    Hello, 

     

    thank you for your reply. Im waiting since you replied for the thermal model example to open but it has not, until now. I have tried it a couple of times (before today) but i closed it after some time because i thought it wont open. I will wait a couple of hours and see if it opens. 

     

    Until then, can you maybe explain me with an screenshot or something what you mean? Because i tried to set the boundary condition by adding an line region but still it did not work. Screenshot attached. I did this for the all lines, i created for each an line region and connected it to one line of the outer surface. 

     

    image

     

    Thank you & regards! 

  • Noti
    Noti Altair Community Member
    edited January 2021

    Hello, 

     

    so the project you mentioned is not loading on my end. Can you please help me on another way? 

     

    Regards

     

  • Alexandru-Ionel Constantin
    Alexandru-Ionel Constantin Altair Community Member
    edited January 2021

    Hello Noti,

     

    The error is from the definition of IS_TOOTH_FOOT face region, Flux thinks that the Possible Thermal source check box is checked and there is no value for the total heat in that region.

     image

    You need to edit the IS_TOOTH_FOOT face region and click on Apply button.

    After each change you must click the Apply button.

     image

    Best regards,

    Alexandru-Ionel Constantin

  • Farid zidat_20516
    Farid zidat_20516
    Altair Employee
    edited January 2021

    Hello Noti;

    First of all sorry for the delay, and thank you Alexandru for your answer.

     

    As I told you Noti, there are many errors on your project, one of them is the boundary conditions, some regions are not well characterized, the materials they do not have the thermal characteristics.

     

    Please find your project with all these modifications, you have to add thermal characteristics to your materials, and also update the boundary conditions with the right one.

     

    Again, please refere to the examples available from the supervisor first, so you can have an idea on how to make thermal computation, at least read the pdf corresponding to these tutorials.

     

    Best regards 

  • Noti
    Noti Altair Community Member
    edited January 2021

    Hello,

    thank you both for your support. Can you please convert the version on project in the 2020 format, because i dont have access to the 2021 yet ? 

     

    Thank you & regards 

  • Farid zidat_20516
    Farid zidat_20516
    Altair Employee
    edited January 2021

    You are welcome!

    The new version is already available, you can download it from your Altair one account.

     

    I do not have the previous installed, i always work with the last commercial version of Flux.

     

    Regards