CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

[ICEM] Cannot update new.3dm file in ICEM based on rpl file

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2017, 05:16
Question Cannot update new.3dm file in ICEM based on rpl file
  #1
New Member
 
Jimmy Lee
Join Date: Jun 2017
Posts: 19
Rep Power: 8
jimmy871013 is on a distinguished road
Dear All:

Hello~~

I am a new guy in CFD simulation. I am trying to connect rhino(3D model software) with ANSYS. I found ICEM can read .3dm file(Rhino file) so I think maybe can use rpl file to let ICEM automatic meshing my 3dm file by itself. After I did rpl file I found It can work but without update.

It means when I revise my .3dm file, ICEM cannot automatic input the same name .3dm file by itself(based on rpl file). I check the process, the ICEM always input .tin file which saved previously.So I think no matter I change the .3dm file or not, ICEM will still read the old .tin file. The automatic process seems failed. It is just my thinking maybe I am wrong.

So does anyone can give me some advise? Or maybe some export can teach me how to set ICEM process? Or maybe someone have the same problem? Please share your ideas~~~

Thanks for anyone who pay attention to my topic~~~

Thanks a lot

Jimmy
jimmy871013 is offline   Reply With Quote

Old   June 20, 2017, 05:39
Question The different between log and replay file
  #2
New Member
 
Jimmy Lee
Join Date: Jun 2017
Posts: 19
Rep Power: 8
jimmy871013 is on a distinguished road
Dear all :

I am still studying Why my replay file cannot update my mesh file when the input rhino file has been changed.

I found some different between log and replay file, maybe this is reason of my problem.

I found the log is start with:

Code:
{C:/Program Files/ANSYS Inc/v150/icemcfd/win64_amd/bin/3dm2tin} -a F:/Jimmy/OP/1.0edition/Rhino-file/connect_icm.3dm F:/Jimmy/OP/1.0edition/Rhino-file/connect_icm.tin
reading 3DM file <F:/Jimmy/OP/1.0edition/Rhino-file/connect_icm.3dm>
writing tetin file <F:/Jimmy/OP/1.0edition/Rhino-file/connect_icm.tin>
Done.
And the replay is start with:

Code:
ic_undo_group_begin 
ic_load_tetin connect_icm.tin
ic_geo_set_modified 0
ic_csystem_display all 0
ic_csystem_set_current global
ic_boco_nastran_csystem reset
ic_boco_solver 
ic_boco_clear_icons
I think it means replay file does not run C:/Program Files/ANSYS Inc/v150/icemcfd/win64_amd/bin/3dm2tin.exe to transfer 3dm file to tin file and also does not save the new tin file. The replay file just input the old tin file so the mesh file does not update.

It is just my opinion. Maybe someone can share some ideas? Or maybe someone can teach me how to use batch file to run C:/Program Files/ANSYS Inc/v150/icemcfd/win64_amd/bin/3dm2tin.exe and save tin file? Or maybe you have some better idea of this problem, please teach me~~~~

Thanks for all your attention~~~
jimmy871013 is offline   Reply With Quote

Old   June 20, 2017, 07:43
Default
  #3
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 566
Rep Power: 20
bluebase will become famous soon enough
Hi Jimmy,
unfortunately not all commands are recorded in ICEM.

But it often prints out the external programs run.

You could try adding the following line to your script
Code:
ic_exec {C:/Program Files/ANSYS Inc/v150/icemcfd/win64_amd/bin/3dm2tin} -a F:/Jimmy/OP/1.0edition/Rhino-file/connect_icm.3dm F:/Jimmy/OP/1.0edition/Rhino-file/connect_icm.tin
or the way i'd do it (in a tcl-script):


Code:
# Getting the installation path
global env
set icemenv $env(ICEM_ACN)

# Change to desired work directory
ic_chdir "F:/Jimmy/OP/1.0edition/Rhino-file/"

# Execute a Command
ic_exec "$icemenv/bin/3dm2tin" -a connect_icm.3dm connect_icm.tin
Then, don't forget to load the new tetin with the command found in your script snipet.

With regards,
Sebastian
bluebase is offline   Reply With Quote

Old   June 20, 2017, 11:02
Default
  #4
New Member
 
Jimmy Lee
Join Date: Jun 2017
Posts: 19
Rep Power: 8
jimmy871013 is on a distinguished road
Dear Sebastian:

Thanks for your reply, I did not expect someone will reply me today. I will follow your advise to do my work. Thanks a lot for your helping!!!!

I hope my problem can be solved by your advise, but if cannot work, I search another way and also ask you. I hope It will not waste your much time.

Thank you again~

Jimmy
jimmy871013 is offline   Reply With Quote

Reply

Tags
icem 15

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 14:30
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 ordinary OpenFOAM Installation 19 September 3, 2019 18:13
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 01:22
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 12:41
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 17:18


All times are GMT -4. The time now is 02:08.