How to build a motorette model (2 slots, 1.5 stator tooth) in FLUX 3D context?

Yangyu Sun
Yangyu Sun Altair Community Member
edited August 2022 in Community Q&A

Dear Flux community,

I am now trying to build a motorette model which has no rotor and two slots and 1.5 stator tooth, please see the attached diagram for detailed information. All the parts (volume region) are stationary.

I have already finished all the building and have checked the physical, geometry and electrical circuit, nothing is wrong. But when I tried to run it (initially magnetic transient 3D then attempt to use static steady AC magnetic 3D), it cannot be solved. One thing to note: only stator and one coil are included in this model and I tried to use no mechanical setting or assign stator mechanical set (fixed) to all of the volume regions. I believe some is wrong with the physical setting but I cannot fix it and I need your help. The error code is shown below:

CMCCCE => Wrong number of orientation (1)
CMCCCE => Failed
PBCJI1 => Failed
PBCJI0 => Failed
PBEAV0 => failed
PB_FNUM1_2 => Problem while evaluating. Unable to solve the project.
PBEPVD_4 => Failed
PBEPAV_3 => Error 49, no treated error type
PBCEVL_4 => failed
PBCEVL_3 => Failed
PBERES_3 => failed
FL5RE4 => Command not executed correctly
FL5ERS => failed
FL5ERS_1 => failed
executeAlgo_c => failed
stdcom.error.SoftwareFortranException: executeAlgo_c : Execution failed.
Failed execution
Non managed error which has stopped solving process

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:931)
at cad.flux.kernel.dbmanager.FGCDbManager.executeAlgo(FGCDbManager.java:151)
at cad.flux.kernel.FGSupervisor.executeNativeCommand(FGSupervisor.java:2249)
at cad.flux.kernel.actions.implementation.algo.project.KSolveScenarioAction.doAction(KSolveScenarioAction.java:83)
at cad.core.common.dynamic.actions.UIActionManager.postAction(UIActionManager.java:146)
at cad.core.kernel.KernelCommon.postAction(KernelCommon.java:347)
at cad.core.kernel.Supervisor.executeJavaCommand(Supervisor.java:2925)
at cad.core.kernel.Supervisor.executeCommand(Supervisor.java:2103)
at cad.core.kernel.Supervisor.executeMethod(Supervisor.java:2222)
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:545)
at org.python.core.PyObject.__call__(PyObject.java:551)
at org.python.core.PyMethod.__call__(PyMethod.java:171)
at pydb$py.executeMethod$212(pydb.py:1699)
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__$179(pydb.py:1470)
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:424)
at org.python.pycode._pyx7.f$0(<input>:1)
at org.python.pycode._pyx7.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:652)
at cad.core.kernel.components.PythonWrapper.runsource(PythonWrapper.java:647)
at cad.core.kernel.components.PythonWrapper.runsource(PythonWrapper.java:622)
at cad.core.kernel.components.PythonWrapper.runsource(PythonWrapper.java:617)
at cad.core.kernel.components.PythonWrapper.execute(PythonWrapper.java:662)
at cad.core.kernel.components.PythonWrapper.executeFunction(PythonWrapper.java:730)
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.flux.frontal.actions.implementation.algo.project.FAbstractSaveAsAction.executeBox(FAbstractSaveAsAction.java:93)
at cad.core.frontal.actions.implementation.GeneralAction.postAct(GeneralAction.java:254)
at cad.core.frontal.actions.implementation.GeneralAction.interpret(GeneralAction.java:315)
at cad.core.frontal.components.box.frontaldialog.FrontalDescriptorDialogBox.internalRun(FrontalDescriptorDialogBox.java:296)
at cad.core.frontal.frontalthread.WorkerThread.executeImplementer(WorkerThread.java:226)
at cad.core.frontal.frontalthread.WorkerThread.run(WorkerThread.java:274)

 

Thanks for your help !!!!!

 

Best Answer

  • asoualmi
    asoualmi
    Altair Employee
    edited August 2022 Answer ✓

    Hi,

    I checked your Flux project; I saw that there is no boundary condition (infinite box).  I add the infinite box but when I run the project, I get the same error message. Checking the electric terminals I have some doubt, so I recreated the terminals of the solid conductor region (I use internal terminals). With these two modifications I reached to solve the project without any error message.

    Attached the Flux project ready to mesh and solve.

    The Flux versions used: Flux 2022.1.

    Thanks.

Answers

  • asoualmi
    asoualmi
    Altair Employee
    edited August 2022

    Hi,

    Can you share the report file and FLux project. 

     

    Thanks. 

  • Yangyu Sun
    Yangyu Sun Altair Community Member
    edited August 2022

    Hi,

    Can you share the report file and FLux project. 

     

    Thanks. 

    The zipped file is attached. Please have a look. Another question is that do I have to have some mechanical sets in 3D context? (no mechanical set model can work in 2D static AC environment though). Thanks a lot.

  • Yangyu Sun
    Yangyu Sun Altair Community Member
    edited August 2022

    Hi,

    Can you share the report file and FLux project. 

     

    Thanks. 

    About the report file, I cannot find it in FLUX project folder. If you can mesh the model and run it, the error code should be there. Thanks. 

  • asoualmi
    asoualmi
    Altair Employee
    edited August 2022

    Thanks for sharing, I investigate and come back to you ASAP.

  • Yangyu Sun
    Yangyu Sun Altair Community Member
    edited August 2022

    Thanks for sharing, I investigate and come back to you ASAP.

    BTW can you please have a look both at 3D magnetic transient and 3D steady state AC context. I need to solve the model in both environments. Thanks !

  • asoualmi
    asoualmi
    Altair Employee
    edited August 2022 Answer ✓

    Hi,

    I checked your Flux project; I saw that there is no boundary condition (infinite box).  I add the infinite box but when I run the project, I get the same error message. Checking the electric terminals I have some doubt, so I recreated the terminals of the solid conductor region (I use internal terminals). With these two modifications I reached to solve the project without any error message.

    Attached the Flux project ready to mesh and solve.

    The Flux versions used: Flux 2022.1.

    Thanks.

  • asoualmi
    asoualmi
    Altair Employee
    edited August 2022

    For the transient application you have the possibility to do from the application:

    Application >> convert current application

  • Yangyu Sun
    Yangyu Sun Altair Community Member
    edited August 2022

    Hi,

    I checked your Flux project; I saw that there is no boundary condition (infinite box).  I add the infinite box but when I run the project, I get the same error message. Checking the electric terminals I have some doubt, so I recreated the terminals of the solid conductor region (I use internal terminals). With these two modifications I reached to solve the project without any error message.

    Attached the Flux project ready to mesh and solve.

    The Flux versions used: Flux 2022.1.

    Thanks.

    Thanks for you help! I think the problem is that the way I set electrical terminals was wrong. Now they are all fixed (Both transient and steady state)! 

  • Yangyu Sun
    Yangyu Sun Altair Community Member
    edited August 2022

    For the transient application you have the possibility to do from the application:

    Application >> convert current application

    Yes, all the problems are solved. Thanks.

  • Yangyu Sun
    Yangyu Sun Altair Community Member
    edited August 2022

    For the transient application you have the possibility to do from the application:

    Application >> convert current application

    Hey Abdessamed,

     

    Sorry about bothering you again in this way, but I now have similar problem relating to the model I sent you yesterday. The model I shared yesterday is a simplified model with only one turn in slot, but when I build the 'real' model with 50 turns round conductors, some weird problems show up (I think something is wrong with the mesh settings but I don't know how to fix it properly). Do you have some time to help me with this? If so, I can send you the model.

     

    Yangyu

     

    Kind regards

  • asoualmi
    asoualmi
    Altair Employee
    edited August 2022

    Hey Abdessamed,

     

    Sorry about bothering you again in this way, but I now have similar problem relating to the model I sent you yesterday. The model I shared yesterday is a simplified model with only one turn in slot, but when I build the 'real' model with 50 turns round conductors, some weird problems show up (I think something is wrong with the mesh settings but I don't know how to fix it properly). Do you have some time to help me with this? If so, I can send you the model.

     

    Yangyu

     

    Kind regards

    Attached a PDF file about the mesh in Flux. maybe this can help. if you still get the same behavior can you share the project. Thanks.

  • Yangyu Sun
    Yangyu Sun Altair Community Member
    edited August 2022

    Attached a PDF file about the mesh in Flux. maybe this can help. if you still get the same behavior can you share the project. Thanks.

    I have 'reasonable' knowledge about mesh in FLUX and I have been trying to fix the problem in the past day and it's killing me but I cannot fix it. So can you please help me with this. At the same time, I will have a close look at the file you sent to me.

     

    Some of my concerns: 

    1. when I connect the end windings, I extrude (sweep) the face along the symmetry axis with the option 'build volumes and associated mesh generator', this gives some error when I mesh the model with infinite box. However, when I build the end winding region with option 'only build volumes', this model can be meshed, but takes a very very long time. What weird is  sometimes this works, sometimes it doesn't.

    2. Another concern is that, is this because I have too many mesh elements?

    3. I also tried to deactivate the aided mesh, this seems to be not very helpful.

    Thanks for your help !!!!!!!!!

  • asoualmi
    asoualmi
    Altair Employee
    edited August 2022

    I have 'reasonable' knowledge about mesh in FLUX and I have been trying to fix the problem in the past day and it's killing me but I cannot fix it. So can you please help me with this. At the same time, I will have a close look at the file you sent to me.

     

    Some of my concerns: 

    1. when I connect the end windings, I extrude (sweep) the face along the symmetry axis with the option 'build volumes and associated mesh generator', this gives some error when I mesh the model with infinite box. However, when I build the end winding region with option 'only build volumes', this model can be meshed, but takes a very very long time. What weird is  sometimes this works, sometimes it doesn't.

    2. Another concern is that, is this because I have too many mesh elements?

    3. I also tried to deactivate the aided mesh, this seems to be not very helpful.

    Thanks for your help !!!!!!!!!

    I check and keep you informed. 

  • Yangyu Sun
    Yangyu Sun Altair Community Member
    edited August 2022

    I check and keep you informed. 

    OK. Thanks.