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

how to deal with high speed jet when the Ma>1?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By SamWijey

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2017, 07:57
Post how to deal with high speed jet when the Ma>1?
  #1
New Member
 
Jietuo
Join Date: Jul 2016
Posts: 25
Rep Power: 10
whysoserious is on a distinguished road
Hello!
I use converge 2.3.10 to simulate DI gas engines. When I reduce the diameter of gas nozzles while mass flow rate remains unchanged, the gas jet speed becomes very high and exceeds sound speed. As we know, when Ma >1, choke will happen near the outlet of nozzles.

In my case, the timestep declines into #e-7 which is too small to let my case finished within a reasonable time. In the time.out, the timestep is limited by dt_cfl mostly and by dt_piso occasionally.

what can I do to let myself out of such a dilemma?

Thank you for your advice~
whysoserious is offline   Reply With Quote

Old   June 14, 2017, 12:32
Default
  #2
Senior Member
 
Blanco
Join Date: Mar 2009
Location: Torino, Italy
Posts: 193
Rep Power: 17
Blanco is on a distinguished road
Quote:
Originally Posted by whysoserious View Post
Hello!
I use converge 2.3.10 to simulate DI gas engines. When I reduce the diameter of gas nozzles while mass flow rate remains unchanged, the gas jet speed becomes very high and exceeds sound speed. As we know, when Ma >1, choke will happen near the outlet of nozzles.

In my case, the timestep declines into #e-7 which is too small to let my case finished within a reasonable time. In the time.out, the timestep is limited by dt_cfl mostly and by dt_piso occasionally.

what can I do to let myself out of such a dilemma?

Thank you for your advice~
I think your only choice is to decrease the mesh refinement locally (increase AMR subgrid settings or fixed embedding scale, locally) in order to increase cell size and so move to bigger time-steps. This for sure will reduce your spatial resolution, but you can do a sensitivity study to assess your results, by trying different AMR/embedding settings.

Btw, are you using the total energy solver for this case? It is specifically suited for high speed flows
Blanco is offline   Reply With Quote

Old   June 14, 2017, 22:44
Default
  #3
New Member
 
Jietuo
Join Date: Jul 2016
Posts: 25
Rep Power: 10
whysoserious is on a distinguished road
Quote:
Originally Posted by Blanco View Post
I think your only choice is to decrease the mesh refinement locally (increase AMR subgrid settings or fixed embedding scale, locally) in order to increase cell size and so move to bigger time-steps. This for sure will reduce your spatial resolution, but you can do a sensitivity study to assess your results, by trying different AMR/embedding settings.

Btw, are you using the total energy solver for this case? It is specifically suited for high speed flows
thank you for your advice~

From what you suggest, I need to coarsen my model mesh or use the total energy solver, right? I have two questions.

First, I have done the sensitivity study of mesh size before and found a suitable embedding strategy for my previous case. If I do this again, I need to revalidate the pressure trace and emission statistics which may be time-consuming. Alternatively, can I change Simulation Time Parameters to solve this problem?

Second, which parameter should I change to use the total energy solver? can you tell me more detail about this solver?
whysoserious is offline   Reply With Quote

Old   June 16, 2017, 06:12
Default
  #4
Senior Member
 
Blanco
Join Date: Mar 2009
Location: Torino, Italy
Posts: 193
Rep Power: 17
Blanco is on a distinguished road
Quote:
Originally Posted by whysoserious View Post
thank you for your advice~

From what you suggest, I need to coarsen my model mesh or use the total energy solver, right? I have two questions.
I would suggest to use the total energy solver in any case, even if you'll proceed with a fine mesh, because you're simulating flow having Ma>= 1

Quote:
Originally Posted by whysoserious View Post
thank you for your advice~

First, I have done the sensitivity study of mesh size before and found a suitable embedding strategy for my previous case. If I do this again, I need to revalidate the pressure trace and emission statistics which may be time-consuming. Alternatively, can I change Simulation Time Parameters to solve this problem?
Do you mean change the CFL_U limit? You can try to play with CFL and go above 1 for velocity, but keep in mind that you'll have to underelax to stabilize the solver (personally I've not tried to go above max CFL_U=1 yet if not in particular cases...in which I ended up going back to max CFL_U=1 because of stability).

Quote:
Originally Posted by whysoserious View Post
thank you for your advice~

Second, which parameter should I change to use the total energy solver? can you tell me more detail about this solver?
You can switch on the total energy solver by putting to 1 the solve_total_energy_flag in inputs.in. You can find more details on the total energy solver in the paragraph 4.3 of the manual (and I remember some slide in the advanced training material too, new features of v2.3).
Blanco is offline   Reply With Quote

Old   June 19, 2017, 04:23
Default
  #5
New Member
 
Jietuo
Join Date: Jul 2016
Posts: 25
Rep Power: 10
whysoserious is on a distinguished road
Quote:
Originally Posted by Blanco View Post
I would suggest to use the total energy solver in any case, even if you'll proceed with a fine mesh, because you're simulating flow having Ma>= 1



Do you mean change the CFL_U limit? You can try to play with CFL and go above 1 for velocity, but keep in mind that you'll have to underelax to stabilize the solver (personally I've not tried to go above max CFL_U=1 yet if not in particular cases...in which I ended up going back to max CFL_U=1 because of stability).



You can switch on the total energy solver by putting to 1 the solve_total_energy_flag in inputs.in. You can find more details on the total energy solver in the paragraph 4.3 of the manual (and I remember some slide in the advanced training material too, new features of v2.3).
It works.
Thanks a lot
whysoserious is offline   Reply With Quote

Old   August 2, 2017, 22:48
Default
  #6
New Member
 
Afiqah Hamzah
Join Date: Jul 2016
Posts: 12
Rep Power: 10
hmzha is on a distinguished road
Quote:
Originally Posted by whysoserious View Post
Hello!
In the time.out, the timestep is limited by dt_cfl mostly and by dt_piso occasionally.
Hi,

How did you generate time.out file? I could not find it in the manual.

Thank you
hmzha is offline   Reply With Quote

Old   August 2, 2017, 23:14
Default
  #7
New Member
 
Jietuo
Join Date: Jul 2016
Posts: 25
Rep Power: 10
whysoserious is on a distinguished road
I don't know how to turn on this function. I think it may be related to software version. I am using CVG 2.3.10. What about you?
whysoserious is offline   Reply With Quote

Old   August 3, 2017, 03:45
Default
  #8
Senior Member
 
Blanco
Join Date: Mar 2009
Location: Torino, Italy
Posts: 193
Rep Power: 17
Blanco is on a distinguished road
If you're using linux you have to redirect converge output to a text file during the run, e.g.

converge-2.3-.... > log.out &

You can also set verbosity level in inputs.in


Sent from my HUAWEI TAG-L01 using CFD Online Forum mobile app
Blanco is offline   Reply With Quote

Old   August 3, 2017, 14:07
Default
  #9
Senior Member
 
Tobias
Join Date: May 2016
Location: Germany
Posts: 295
Rep Power: 11
MFGT is on a distinguished road
Quote:
Originally Posted by hmzha View Post
Hi,

How did you generate time.out file? I could not find it in the manual.

Thank you
time.out was added with a certain release, but i dont know which one it was. Since then its always there, if not, your version is older.
In this case check the screen print in the log file as Blanco suggested.

You can also change the command in windows to write the text output to a file.
Simply add
> log.txt

after he command
MFGT is offline   Reply With Quote

Old   August 4, 2017, 02:38
Default
  #10
New Member
 
Afiqah Hamzah
Join Date: Jul 2016
Posts: 12
Rep Power: 10
hmzha is on a distinguished road
Yes you are right. I am using v2.3.6. I already have the output in a text file, just wondering why I don't have the time.out file.

Thanks
hmzha is offline   Reply With Quote

Old   August 4, 2017, 18:16
Default
  #11
Senior Member
 
SamWijey's Avatar
 
Sameera Wijeyakulasuriya
Join Date: Jan 2016
Location: Convergent Science, Madison WI
Posts: 117
Rep Power: 10
SamWijey is on a distinguished road
CONVERGE writes the time.out file starting from v2.3.10. Its a good idea to read the release notes from time to time to get updated on the bug fixes that has been happening.
__________________
Sameera Wijeyakulasuriya
Principal Engineer, Applications
CONVERGECFD
SamWijey is offline   Reply With Quote

Old   August 6, 2017, 22:15
Default
  #12
New Member
 
Afiqah Hamzah
Join Date: Jul 2016
Posts: 12
Rep Power: 10
hmzha is on a distinguished road
Thanks for the reply Sam. Would you recommend updating the software to the latest version each time there's a new release?
hmzha is offline   Reply With Quote

Old   August 7, 2017, 12:58
Default
  #13
Senior Member
 
SamWijey's Avatar
 
Sameera Wijeyakulasuriya
Join Date: Jan 2016
Location: Convergent Science, Madison WI
Posts: 117
Rep Power: 10
SamWijey is on a distinguished road
This is a good question that a lot of the people in the forum can learn from. Let me try to answer this below:

1. If you are in the middle of a project, then you should try not to upgrade the executable unless you find out that there's a bug in the version you are using, that affects your project results.
If the system you are simulating is sensitive to small perturbations, then changing the executable can result in a different (yet valid) realization of the results. This might affect your project progress if you swap the executables in the middle of the project

2. Read release notes periodically to find out the bug fixes and improvements that has been done to the code. If the bug fixes in the newer versions of the executables do not affect your project, do not change executable in the middle of the project.

3. If you are going to start a new project then this would be a good time to read the release notes to figure out if you want to upgrade the executable or not.

4. CONVERGE typically releases minor versions monthly and a major version yearly.

Hope this helps,
hmzha likes this.
__________________
Sameera Wijeyakulasuriya
Principal Engineer, Applications
CONVERGECFD
SamWijey is offline   Reply With Quote

Reply

Tags
gas engines, gas jet, high speed injection, timestep


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
high speed impacts / multiphysics PattiMichelle OpenFOAM 0 September 20, 2014 11:55
high speed flow, phase change problem PYJG CFX 15 December 1, 2013 05:29
Rotating a high speed craft about its CG Mojtabam CFX 12 October 21, 2013 20:05
High speed flow with Launder-Sharma-k-epsilon-Model sebastian OpenFOAM Running, Solving & CFD 0 February 6, 2012 06:04
CFD in HIgh speed Spindles JOHn Main CFD Forum 0 October 17, 2003 00:44


All times are GMT -4. The time now is 17:19.