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

How to make a CEL?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 2, 2018, 21:15
Default How to make a CEL?
  #1
New Member
 
seunghyeon, yun
Join Date: Apr 2018
Posts: 18
Rep Power: 8
YOUNS is on a distinguished road
Hello everyone!

I want to make a CEL that RPM is increase step by step.
For example, 1500 > 3000 > 5000 > 10000 > 50000 > 100000 > 154,000

I'm trying to analysis centrifugal compressor(RPM:154,000 and mass flow at outlet: 0.1056 kg/s). But, it occur "Fatal Over Flow" error message and stopped solving.

so, I think that cause of error is high RPM because, initial pressure is 1[atm] but, if impeller is suddenly rotating for 154,000rpm, pressure difference is very high.
or it is geometry or mesh problem.

Have you idea about this error?

At result~!!
I want to how to make a CEL that RPM is increase step by step.

teach me

thanks for read.

Heave a nice day!!!
YOUNS is offline   Reply With Quote

Old   May 3, 2018, 01:14
Default
  #2
Senior Member
 
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11
urosgrivc is on a distinguished road
You can make either a:

+conditional IF expresion like this:
if(acumulated iteration number >10, than something, else something)
else something can be a nother if sentence.
if you are doing transient than acumulated timestep can be used
usualy changing parameters in stedy state has only wery limited use.

or:
+user defined function (a table of values)
you first set your units
than make a table first column could be seconds[s] and the second one can be revolutions per minute [radian s^-1] or what ewer.
than you set your values in the table,
0,0
1,100
this would mean that the rpms would be ramped up to 100 in 1second
You than use this function in an expression an put (t) in the end vhich means the expresion is time dependant
but this is not limited to time it could be T=temperature dependant or other.

probably best thing for vhat you vant is the first case as as i understand you are doing a steady state

Last edited by urosgrivc; May 4, 2018 at 04:40.
urosgrivc is offline   Reply With Quote

Old   May 4, 2018, 04:46
Default
  #3
Senior Member
 
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11
urosgrivc is on a distinguished road
In your case I vould rather try decreasing the timescale factor at the begining of your simulation
urosgrivc is offline   Reply With Quote

Old   May 4, 2018, 05:06
Default
  #4
Senior Member
 
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12
AtoHM is on a distinguished road
The steps might produce some steep gradients as well, so you can also try a continuous increase. I did something similar a few weeks back.
Use your standard RPM expression and multiply it by an expression Scaling (for example): RPM * Scaling
Then you can just use the Time variable to scale it like:
if (Time<(Time Step Size * 100), Time / (Time Step Size * 100), 1)
which gives you a linear scaling during the first 100 time steps, which you can adjust to your needs.
AtoHM is offline   Reply With Quote

Old   May 4, 2018, 06:26
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I don't think you want to increase the rotation speed every time step as it will never converge and could tie itself in strange knots. I would recommend starting with a constant speed and keeping the speed constant until you get monotonic convergence. Once you get monotonic convergence you know it has the fundamental flow field and then you can increase the speed.

And you should not need to do it in 7 steps like you initially suggest. Two steps is all required in most cases, 3 in exceptional cases. If you still cannot obtain convergence then something more fundamental is wrong, this FAQ might help: https://www.cfd-online.com/Wiki/Ansy...gence_criteria
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks 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
[openSmoke] libOpenSMOKE Tobi OpenFOAM Community Contributions 562 January 25, 2023 09:21
CFX CEL Expression for Cavitation Modeling kimotbwb CFX 2 March 28, 2018 03:26
User CEL Function and CFD Post chastain CFX 4 September 24, 2013 13:58
compiling firefoam Farshad_Noravesh OpenFOAM 27 December 24, 2012 04:21
[swak4Foam] swak4foam can not be installed hugo17 OpenFOAM Community Contributions 1 September 11, 2012 05:17


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