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

timescale factor switching

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 30, 2013, 05:22
Default timescale factor switching
  #1
Senior Member
 
Join Date: Jul 2010
Posts: 152
Rep Power: 16
keeper is on a distinguished road
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
keeper is offline   Reply With Quote

Old   October 30, 2013, 05:50
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
No, but you can use edit run in progress to change it without requiring a restart.
ghorrocks is offline   Reply With Quote

Old   October 30, 2013, 09:24
Default
  #3
Senior Member
 
Join Date: Jul 2010
Posts: 152
Rep Power: 16
keeper is on a distinguished road
That is what I want to avoid I thought there could be some expression like when Time Step = 15 then switch autotimescale to 10.
keeper is offline   Reply With Quote

Old   October 30, 2013, 17:27
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Have you tried setting the autotimescale factor to a CEL expression then using a CEL expression like if(aitern>15,10,1)?
ghorrocks is offline   Reply With Quote

Old   October 31, 2013, 03:55
Default
  #5
Senior Member
 
Join Date: Jul 2010
Posts: 152
Rep Power: 16
keeper is on a distinguished road
Thank you for response. No I haven't, that is exactly what I wanted to know. Perfect! Thanks a lot Glenn.

Regards
keeper is offline   Reply With Quote

Old   August 5, 2015, 05:10
Default solid timescale factor switching
  #6
Senior Member
 
Join Date: Jul 2010
Posts: 152
Rep Power: 16
keeper is on a distinguished road
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
keeper is offline   Reply With Quote

Old   August 5, 2015, 06:33
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I think so, but some parameters are not settable by expressions so I cannot be sure. So try it and find out.
ghorrocks is offline   Reply With Quote

Old   August 6, 2015, 04:12
Default
  #8
Senior Member
 
Join Date: Jul 2010
Posts: 152
Rep Power: 16
keeper is on a distinguished road
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
keeper is offline   Reply With Quote

Old   August 6, 2015, 04:16
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   August 6, 2015, 04:19
Default
  #10
Senior Member
 
Join Date: Jul 2010
Posts: 152
Rep Power: 16
keeper is on a distinguished road
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
keeper is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 01:44.