|
[Sponsors] |
December 6, 2016, 15:38 |
Script file runs slowly
|
#1 |
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17 |
Hi,
I run a script that creates hundreds of surfaces with the command ic_surface 4pts: Code:
ic_geo_new_family SURFACES ic_surface 4pts SURFACES surf.0001 {{0.2500 0.3000 0.2500} {0.2500 0.5000 0.2500} {0.2500 0.5000 0.9080} {0.2500 0.3000 0.9080}} ic_surface 4pts SURFACES surf.0002 {{1.7680 0.3000 0.2500} {1.7680 0.5000 0.2500} {1.7680 0.5000 0.9080} {1.7680 0.3000 0.9080}} ic_surface 4pts SURFACES surf.0003 {{0.2500 0.5000 0.2500} {0.2500 0.7000 0.2500} {0.2500 0.7000 0.9080} {0.2500 0.5000 0.9080}} ... ... ... Is there a way to 'unclog' ICEM when running a large script file? |
|
December 7, 2016, 01:06 |
|
#2 | |
Senior Member
Join Date: Feb 2011
Posts: 496
Rep Power: 18 |
Quote:
|
||
December 7, 2016, 01:15 |
|
#3 |
Senior Member
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 14 |
Ansys can handle given number of edges and faces at a given time which has improved considerably over the years with every new update.
I would suggest you to break your script in multiple parts and run it. Also if you are doing like named selection and selecting all the faces you want and in exceeds certain limit then you should re-think that as well and break in into multiple named selection. You can see when it is selection faces and edges in the bar below, mark after how many faces or edges it is slowing down and you can use that as number. personally I dont have any trouble handling 4K+ faces at a given time with Ansys 17 |
|
December 7, 2016, 03:51 |
|
#4 |
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17 |
||
December 7, 2016, 09:49 |
|
#5 | |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21 |
Quote:
Another option is to run your script in batch mode. Just add a few commands that the script will save the geometry. To run icem in batchmode you have to start it from command line in the following structure "icemcfd -batch -script myscript.tcl". Then you may avoid all the drawing necessary, which might have slowed down your script. With regards, Sebastian |
||
December 7, 2016, 18:53 |
|
#6 |
Senior Member
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 14 |
yes Macfly,
thats exactly what I mean. I break my model in different set of bodies. Draw them all thru different script via batch file one after other. give it a go and see how it pans out for ya! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 10:07 |
SparceImage v1.7.x Issue on MAC OS X | rcarmi | OpenFOAM Installation | 4 | August 14, 2014 07:42 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 11:59 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 13:41 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |