CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   ANSYS CFX with Remeshing in ICEM CFD (http://www.cfd-online.com/Forums/cfx/80172-ansys-cfx-remeshing-icem-cfd.html)

adeban September 17, 2010 05:32

ANSYS CFX with Remeshing in ICEM CFD
 
Dear colleagues,

I made a simple example of how to set up ANSYS CFX with live Re-meshing in ICEM CFD. I thought it might be useful for the users out there that are interested in working with large deformations in an ANSYS CFX. This can be used in combination with the Rigid Body solver in ANSYS CFX to allow for rigid body motion.

http://www.edr.no/blogg/ansys_blogge...cfx_re_meshing



Klas Johansson, Ph.D.
Technical Consultant

EDR | Engineering Data Resources AB |
+46 31 759 5035 (tel) | +46 (0)708 87 92 72 (mobile)
mailto:klas.johansson@edr.se

EDR blog http://www.edr.se/blogg

Newsletter http://www.edr.se/nyhetsbrev

ghorrocks September 17, 2010 05:50

You have an impressive collection of tutorials on your ANSYS blog - well done! Thanks for sharing it.

http://www.edr.no/blogg/ansys_bloggen

The one on displaying wind turbine modelling data on Google maps looks very nice.

vmlxb6 October 18, 2010 20:52

@ adeban
 
I am trying to re-mesh and I get the following error. Can you help me out with this please:



CFX Solver Results generated before remeshing have been written to: C:\Documents and Settings\vmlxb6\Desktop\16th Oct 2010\case 2_ trial\Unnamed_007\1_oldmesh.res


Text output generated during remeshing has been written to: C:\Documents and Settings\vmlxb6\Desktop\16th Oct 2010\case 2_ trial\Unnamed_007\1_remesh.out


An error has occurred in cfx5solve:


Unable to retrieve 1_remesh.out from working directory: Cannot move to C:\Documents and Settings\vmlxb6\Desktop\16th Oct 2010\case 2_ trial\Unnamed_007\1_remesh.out: Permission denied.




Thanks.

adeban October 19, 2010 03:24

Hello,

What output do you have from the remesh process? Does it generate a new mesh? THe ICEM process should generate an output.

Another thing that can cause problems is the fact that you are running in a directory with a lot of spaces in the name. CFX is and have always been sensitive to that.

/Klas

pratikmehta October 19, 2010 04:39

Hi,

This is the same way how the Piston grid works using CFX12 & ICEM. I have been using it now for inline Cylinder flow analysis . I really like your explanation Johannes

Thanks for sharing such an extensive example

Best Regards
Pratik

ajay_ks June 8, 2012 01:24

error while remeshing with icem and cfx
 
Hi
i am trying to move an object inside water in a closed channel and making use of remeshing using icem and cfx combination, but am getting the following errors (well i am able to do remeshing using icem and cfx for one time only but when remeshing is required in simulation for next time it fails and gives the following errors) :
An error has occurred in cfx5solve: |
| |
| Error reported by IO module: iif_open: the file is not in CFX-5.x |
| format |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| Error reported by IO module: iocnt: open the primary file failed |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| Error from IO module while opening E:\moving plate\moving |
| plate_001.dir\moving plate.uns.bak: |
| |
| "iocnt: open the primary file failed" |
| |
| IO_BAD_FILE(20): Invalid def/res file. File could be corrupted. |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| WriteToFile failed - dataset write filed



Thanks in advance...

Dr-Nukem June 26, 2012 05:27

Better Remesh Tutorial needed
 
Hi

I am trying to learn the art of remeshing myself atm. Problem is the EDR.no tutorials are incomplete and unless you already have vast knowledge in Ansys you cannot do them. I would like to ask if someone knows a better tutorial or if you have a file I can open and look at?

Btw the error I am currently experincing is :

+--------------------------------------------------------------------+
| |
| Remeshing |
| |
+--------------------------------------------------------------------+


Remesh Object: Remesh 1
Activated by condition: Interrupt Condition 1

Executing remesh command:
/software/ansys/v140/icemcfd/linux64_amd/bin/icemcfd -batch
-script
/software/ansys/v140/CFX/etc/Remeshing/icemcfd_Remesh.rpl

CFX Solver Results generated before remeshing have been written to:
/home/arrabiye/Ansys/MMesh3/Results/NMMesh_04_014/6_oldmesh.res

Text output generated during remeshing has been written to:
/home/arrabiye/Ansys/MMesh3/Results/NMMesh_04_014/6_remesh.out





+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| ANSYS CFX Solver Input File does not exist |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| The following user files have been saved in the directory |
| /home/arrabiye/Ansys/MMesh3/Results/NMMesh_04_014: |
| |
| cfx5mondata.out, cfxpre_engine_error.log, 6_remesh.out, |
| 6_oldmesh.res |
+--------------------------------------------------------------------+


This run of the ANSYS CFX Solver has finished.

menshiluobei August 6, 2013 04:55

Hello, have you solved the error? I also met the problem and can't solve it. Would you like to give me some help?Thanks!

alinik April 21, 2014 12:23

Quote:

Originally Posted by menshiluobei (Post 444069)
Hello, have you solved the error? I also met the problem and can't solve it. Would you like to give me some help?Thanks!


Quote:

Originally Posted by Dr-Nukem (Post 368335)
Hi

I am trying to learn the art of remeshing myself atm. Problem is the EDR.no tutorials are incomplete and unless you already have vast knowledge in Ansys you cannot do them. I would like to ask if someone knows a better tutorial or if you have a file I can open and look at?

Btw the error I am currently experincing is :

+--------------------------------------------------------------------+
| |
| Remeshing |
| |
+--------------------------------------------------------------------+


Remesh Object: Remesh 1
Activated by condition: Interrupt Condition 1

Executing remesh command:
/software/ansys/v140/icemcfd/linux64_amd/bin/icemcfd -batch
-script
/software/ansys/v140/CFX/etc/Remeshing/icemcfd_Remesh.rpl

CFX Solver Results generated before remeshing have been written to:
/home/arrabiye/Ansys/MMesh3/Results/NMMesh_04_014/6_oldmesh.res

Text output generated during remeshing has been written to:
/home/arrabiye/Ansys/MMesh3/Results/NMMesh_04_014/6_remesh.out





+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| ANSYS CFX Solver Input File does not exist |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| The following user files have been saved in the directory |
| /home/arrabiye/Ansys/MMesh3/Results/NMMesh_04_014: |
| |
| cfx5mondata.out, cfxpre_engine_error.log, 6_remesh.out, |
| 6_oldmesh.res |
+--------------------------------------------------------------------+


This run of the ANSYS CFX Solver has finished.


Hi

any luck solving this last problem?
ANSYS CFX Solver Input File does not exist??

gwen520 September 23, 2014 04:39

After remesh, my box always returned to the initial position, can you give me some advice?

ghoroobeaakhar February 19, 2015 12:52

I have the same problem. how can I do for the problem?

DanHarrison March 26, 2015 09:38

IO module error
 
Hi ajay_ks

Did you manage to solve this problem? I am having the same issue, any advice would be much appreciated!

Thanks

Dan



"Hi
i am trying to move an object inside water in a closed channel and making use of remeshing using icem and cfx combination, but am getting the following errors (well i am able to do remeshing using icem and cfx for one time only but when remeshing is required in simulation for next time it fails and gives the following errors) :
An error has occurred in cfx5solve: |
| |
| Error reported by IO module: iif_open: the file is not in CFX-5.x |
| format |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| Error reported by IO module: iocnt: open the primary file failed |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| Error from IO module while opening E:\moving plate\moving |
| plate_001.dir\moving plate.uns.bak: |
| |
| "iocnt: open the primary file failed" |
| |
| IO_BAD_FILE(20): Invalid def/res file. File could be corrupted. |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| WriteToFile failed - dataset write filed



Thanks in advance... "

weare138 April 10, 2015 14:09

Quote:

Originally Posted by gwen520 (Post 511439)
After remesh, my box always returned to the initial position, can you give me some advice?

Try to generate mesh in meters. By default the displacement is transferred in meters.

weare138 April 10, 2015 14:32

Quote:

Originally Posted by DanHarrison (Post 538371)
Hi ajay_ks

Did you manage to solve this problem? I am having the same issue, any advice would be much appreciated!

Thanks

Dan



"Hi
i am trying to move an object inside water in a closed channel and making use of remeshing using icem and cfx combination, but am getting the following errors (well i am able to do remeshing using icem and cfx for one time only but when remeshing is required in simulation for next time it fails and gives the following errors) :
An error has occurred in cfx5solve: |
| |
| Error reported by IO module: iif_open: the file is not in CFX-5.x |
| format |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| Error reported by IO module: iocnt: open the primary file failed |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| Error from IO module while opening E:\moving plate\moving |
| plate_001.dir\moving plate.uns.bak: |
| |
| "iocnt: open the primary file failed" |
| |
| IO_BAD_FILE(20): Invalid def/res file. File could be corrupted. |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| WriteToFile failed - dataset write filed



Thanks in advance... "

You just have to remove from your icem replay file (*.rpl) string which contains "rename ***.uns to ***.uns.bak" (not exactly but something like that). Also you need to delete the file "***.uns.bak" in the icem project directory. Otherwise solver will use this file to restart the solution and you will get the problem discussed above.

bharath June 1, 2016 00:48

Hi to all

Any one solved this problem?. stuck up with same issue.



Quote:

Originally Posted by Dr-Nukem (Post 368335)
Hi

I am trying to learn the art of remeshing myself atm. Problem is the EDR.no tutorials are incomplete and unless you already have vast knowledge in Ansys you cannot do them. I would like to ask if someone knows a better tutorial or if you have a file I can open and look at?

Btw the error I am currently experincing is :

+--------------------------------------------------------------------+
| |
| Remeshing |
| |
+--------------------------------------------------------------------+


Remesh Object: Remesh 1
Activated by condition: Interrupt Condition 1

Executing remesh command:
/software/ansys/v140/icemcfd/linux64_amd/bin/icemcfd -batch
-script
/software/ansys/v140/CFX/etc/Remeshing/icemcfd_Remesh.rpl

CFX Solver Results generated before remeshing have been written to:
/home/arrabiye/Ansys/MMesh3/Results/NMMesh_04_014/6_oldmesh.res

Text output generated during remeshing has been written to:
/home/arrabiye/Ansys/MMesh3/Results/NMMesh_04_014/6_remesh.out





+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| ANSYS CFX Solver Input File does not exist |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| The following user files have been saved in the directory |
| /home/arrabiye/Ansys/MMesh3/Results/NMMesh_04_014: |
| |
| cfx5mondata.out, cfxpre_engine_error.log, 6_remesh.out, |
| 6_oldmesh.res |
+--------------------------------------------------------------------+


This run of the ANSYS CFX Solver has finished.


-Maxim- June 1, 2016 02:15

Quote:

ANSYS CFX Solver Input File does not exist
Have you double-checked if your solver input file exists? Can your script/remesher access that file?

weare138 June 9, 2016 07:01

Quote:

Originally Posted by bharath (Post 602753)
Hi to all

Any one solved this problem?. stuck up with same issue.
ANSYS CFX Solver Input File does not exist

Usually it means that there was an error during mesh generation via replay and CFX Solver Input File has not been created.
Check error files in the remeshing directory of your project.

bharath June 13, 2016 07:51

Solution found
 
Quote:

Originally Posted by bharath (Post 602753)
Hi to all

Any one solved this problem?. stuck up with same issue.

I solved the problem.

I unchecked Mesh Reload Options in Configurations Tab --> Re-meshing --> Mesh Reload Options [Unchecked]

It is working fine now.

Thanks for your replies


All times are GMT -4. The time now is 20:18.