|
[Sponsors] |
October 30, 2013, 05:22 |
timescale factor switching
|
#1 |
Senior Member
Join Date: Jul 2010
Posts: 152
Rep Power: 16 |
Hello all.
I want to swith autotimescale factor automatically after certain number of iteration. Right now I have to switch it manually in CFX Solver Manager. Is there any setting (expression) that can do it automatically? Thank you for any reply. Best Regards |
|
October 30, 2013, 05:50 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144 |
No, but you can use edit run in progress to change it without requiring a restart.
|
|
October 30, 2013, 09:24 |
|
#3 |
Senior Member
Join Date: Jul 2010
Posts: 152
Rep Power: 16 |
That is what I want to avoid I thought there could be some expression like when Time Step = 15 then switch autotimescale to 10.
|
|
October 30, 2013, 17:27 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144 |
Have you tried setting the autotimescale factor to a CEL expression then using a CEL expression like if(aitern>15,10,1)?
|
|
October 31, 2013, 03:55 |
|
#5 |
Senior Member
Join Date: Jul 2010
Posts: 152
Rep Power: 16 |
Thank you for response. No I haven't, that is exactly what I wanted to know. Perfect! Thanks a lot Glenn.
Regards |
|
August 5, 2015, 05:10 |
solid timescale factor switching
|
#6 |
Senior Member
Join Date: Jul 2010
Posts: 152
Rep Power: 16 |
Hello all,
does anyone know, if solid timescale factor can be switched automatically by using similar (or same) expression as fro fluid timescale factor? Thank you for any help. Best regards |
|
August 5, 2015, 06:33 |
|
#7 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144 |
I think so, but some parameters are not settable by expressions so I cannot be sure. So try it and find out.
|
|
August 6, 2015, 04:12 |
|
#8 |
Senior Member
Join Date: Jul 2010
Posts: 152
Rep Power: 16 |
So I've just copied and renamed the expression and this is error message that I got:
Parameter 'Solid Timescale Factor' in object '/FLOW:Flow Analysis 1/SOLVER CONTROL/CONVERGENCE CONTROL' is not allowed to be assigned an expression value that depends on variables. It must be assigned a numeric value, or an expression that resolves to a constant value. Have you any idea how to modify it please? Thank you |
|
August 6, 2015, 04:16 |
|
#9 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144 |
The message is very clear - you cannot vary it during a run.
To vary it you will need to stop, change the CCL and restart. You could also do a change run in progress. |
|
August 6, 2015, 04:19 |
|
#10 |
Senior Member
Join Date: Jul 2010
Posts: 152
Rep Power: 16 |
Ok, I change material properties during the run by using command:
cfx5control -inject-commands CFX.ccl CFX_001.dir This allows you to rewrite what you need without stopping the solver. But you have to set the working directory in pending tasks folder and have ccl inside. Anyway thank you for help. Best regards |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
When to use local timescale or physical timescale | xyq102296 | CFX | 23 | June 25, 2014 08:55 |
Timescale Update Frequency | 100tinela | CFX | 5 | January 25, 2013 08:02 |
Determination of physical timescale | Chander | CFX | 2 | October 19, 2011 20:47 |
Timescale for rotating harware with long domains | aerost | CFX | 1 | July 21, 2010 00:42 |
Solid Timescale Control | Parthipan | CFX | 2 | August 24, 2007 11:07 |