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

Slow Running Simulation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ksrivast

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2017, 04:08
Default Slow Running Simulation
  #1
New Member
 
Rajat soni
Join Date: Oct 2016
Location: Aachen, Germany
Posts: 29
Rep Power: 9
rsoni451 is on a distinguished road
Hello Everyone,

I have setup a simulation with motored conditions in a single cylinder engine.

LES simulation is running from 300 CADs to 750 CADs with mass flow rate as the inlet boundary condition. It is running very slow(107 CADs in 60 hrs). The base mesh size is 16 mm and embedding level up to 4. So the minimum cell size is 0.5 mm.

Can anybody tell me how can I speed up the simulation. I am running it on 30 cores on a HPC.

Thanks in advance!

Bests,
Rajat
rsoni451 is offline   Reply With Quote

Old   August 3, 2017, 13:06
Default
  #2
Senior Member
 
Tobias
Join Date: May 2016
Location: Germany
Posts: 264
Rep Power: 10
MFGT is on a distinguished road
Hi,

what does CONVERGE report as time step limiter? Whats your cell count during simulation? Are all your cores "real" ones, so Hyperthreadding is off?
What are your CFL settings? You can set them differently for certain more unimportant regions (exhaust port).

Regarding the cell size. I wouldnt go to 16mm base mesh, as this can affect your cell distribution in a bad manner. Can you check cell_count_ranks.out for load ballancing?

Either stick to 4mm base (1mm in cylinder, 0.5mm AMR and fixed embedding and down to 0.125mm at Spark) or 2mm base with same embedding sizes. This wont make a big difference.

But this is recommendation for RANS, LES is usually a step finer.
MFGT is offline   Reply With Quote

Old   August 3, 2017, 14:31
Default
  #3
New Member
 
Rajat soni
Join Date: Oct 2016
Location: Aachen, Germany
Posts: 29
Rep Power: 9
rsoni451 is on a distinguished road
Hello MFGT ,

1. Where can I find the details about time step limiter?
2. Cell count is from 20k to 800k(Do you think it is less, keeping in mind that I am running LES?).
3. The cores are all real ones.

And the load balancing per core looks fine ....its almost equally divided.
4. Default CFL settings are being used i.e. vel=1, viscosity=0.5, Mach=50.

Do you have any suggestions?

And I will surely change the mesh settings as 16 mm base mesh size appears to be very big, although I am using 4 level embedding.

Thanks in advance!

Kind Regards,
Rajat
rsoni451 is offline   Reply With Quote

Old   August 4, 2017, 17:10
Default
  #4
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
Hi Rajat,

The time step limiter information that Tobias was talking about can be found in time.out. There are many strategies to speed up a simulation but they depend on the nature of the problem analysed. Can you compare your case setup to a relevant example case? In v2.4 Studio gives you access to a wide variety of example cases so that you can start with our recommended settings.

What is the cells/processor you get ? We have seen 20000 to 30000 cells per core gives you the best speed up for engine simulations. But there are a lot of other parameters that contribute to speed up

If you think you have incorporated all recommended settings and your simulation is still slow, send your case to support@convergecfd.com

Thanks,
__________________
Sameera Wijeyakulasuriya
Principal Engineer, Applications
CONVERGECFD
SamWijey is offline   Reply With Quote

Old   August 6, 2017, 10:12
Default
  #5
New Member
 
Rajat soni
Join Date: Oct 2016
Location: Aachen, Germany
Posts: 29
Rep Power: 9
rsoni451 is on a distinguished road
Hello Tobias and Sameera,

I have reduced the base mesh size to 4 mm with corresponding changes in embedding scaling. The minimum grid size being 0.5 mm.

The simulation is running now a little bit faster now . Load balancing seems to be fine. Around 175k cells on spreaded out on 15 CPUs.

The time step limiter is the convective CFL number.
Minimum time step is e-10.

But still one Crank angle is taking around 30 mins with total no. of cells 2.65 million(2.2 million intake and 0.4 million in cylinder).

Is it normal?
Is there any possibility to make it faster?

Kind Regards,
Rajat
rsoni451 is offline   Reply With Quote

Old   August 7, 2017, 10:53
Default
  #6
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
What is the minimum time step, set at in inputs.in? I would limit that to 1e-8 for ICE cases without VOF. If your time step is reaching 1e-10, then there's something wrong with the case. Can you send your case files (*.in and *.dat files) to support@convergecfd.com? Please use your official email for all correspondence with Convergent Science.

Thanks,
__________________
Sameera Wijeyakulasuriya
Principal Engineer, Applications
CONVERGECFD
SamWijey is offline   Reply With Quote

Old   August 13, 2017, 13:39
Unhappy
  #7
New Member
 
Rajat soni
Join Date: Oct 2016
Location: Aachen, Germany
Posts: 29
Rep Power: 9
rsoni451 is on a distinguished road
Hi Tobias and Sameera,

I have increased the time step to e-8 and the simulation is running much faster now.
Thanks for the help.
Cheers

Regards,
Rajat
rsoni451 is offline   Reply With Quote

Old   September 14, 2017, 01:38
Default Slow running SAGE simulation
  #8
New Member
 
Amir
Join Date: Aug 2017
Posts: 12
Rep Power: 8
hosseinamir71 is on a distinguished road
Hello everyone,
I am trying to simulate a premature air and fuel in a cylinder. Most often, during the simulation, I faced the time-step limiter of dt_cflk.
I found not much information regarding this time-step in the manual. It is mentioned that it is based on MAX_CFL_U. However, I have not yet found how it is based on. Does anyone know what this time-step is and how I can manage to control this limiter which greatly reduces my simulation time.
Thanks
hosseinamir71 is offline   Reply With Quote

Old   September 14, 2017, 08:55
Default
  #9
Senior Member
 
ksrivast's Avatar
 
Kislaya Srivastava
Join Date: Sep 2017
Location: Convergent Science, Northville MI
Posts: 165
Rep Power: 8
ksrivast is on a distinguished road
Hello Amir,

The time step limit dt_cflk is set by the Conduction CFL number, which is based on the value of max_cfl_nu (Maximum Diffusion CFL limit). You can specify the value of max_cfl_nu in inputs.in. A smaller value might be more stable, but takes longer to converge. You can try increasing this value to get larger values for dt_cflk. However, if your case is similar to any of our example cases, we strongly recommend you use the value provided there.

Information on different time step limiters and how to control them can be found in Chapter 23 of our v2.4 manual.

Sincerely,

Srivastava
__________________
Kislaya Srivastava
Principal Research Engineer | Applications
CONVERGECFD
ksrivast is offline   Reply With Quote

Old   September 15, 2017, 05:56
Default
  #10
New Member
 
Amir
Join Date: Aug 2017
Posts: 12
Rep Power: 8
hosseinamir71 is on a distinguished road
Quote:
Originally Posted by ksrivast View Post
Hello Amir,

The time step limit dt_cflk is set by the Conduction CFL number, which is based on the value of max_cfl_nu (Maximum Diffusion CFL limit). You can specify the value of max_cfl_nu in inputs.in. A smaller value might be more stable, but takes longer to converge. You can try increasing this value to get larger values for dt_cflk. However, if your case is similar to any of our example cases, we strongly recommend you use the value provided there.

Information on different time step limiters and how to control them can be found in Chapter 23 of our v2.4 manual.

Sincerely,

Srivastava
Hi
Thanks for your reply. Actually, I am simulating a flame in a cylinder using SAGE. As you said I find a similar example in the cases, which was SAGE premix case and I used the number for limiters as they are, which was 1 for CFL_U and 2 for CFL_NU. However, i again faced that it takes a lot of cycles. I mean, for just 1ms around 50,000 cycles. On 8 core CPU, it takes a week or more for me. I don't think it is normal. I hope I find some keys that I would be able to manage to make the run time fast.
Thanks
hosseinamir71 is offline   Reply With Quote

Old   September 15, 2017, 09:20
Default
  #11
Senior Member
 
ksrivast's Avatar
 
Kislaya Srivastava
Join Date: Sep 2017
Location: Convergent Science, Northville MI
Posts: 165
Rep Power: 8
ksrivast is on a distinguished road
Hello Amir,

I cannot give you an idea of normal run times without looking at your case setup. However, I do offer the following suggestions to make sure you have optimal run times:

1. If your time limiter is dt_cfl/dt_cflk/dt_cfld like you mentioned before, please increase the values of the maximum cfl limits gradually. But be wary, as this might make the simulation less stable.

2. Please check if you are having too many recoveries that are bringing down your time steps. If so, you have a bad case setup with you and it needs improvement.

3. Please check your metis_map.out file and make sure you have good load balancing.

Sincerely,

Srivastava
hosseinamir71 likes this.
__________________
Kislaya Srivastava
Principal Research Engineer | Applications
CONVERGECFD
ksrivast is offline   Reply With Quote

Reply

Tags
engine, les, motered, slow


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
Problems while running Cold Flow simulation 3D/ requesting 2D gmtry and tutorial ICE Excalibu2r FLUENT 0 February 26, 2017 10:58
Slow running of pimpleDyMFoam with respect to pimpleFoam. gj11 OpenFOAM Running, Solving & CFD 2 June 18, 2015 11:59
Is anyone can help me with running simulation? imnull Main CFD Forum 1 November 28, 2011 16:23
What do you CFD guys do during a long simulation running? bearcat Main CFD Forum 5 July 23, 2009 08:08
running a simulation shuo Main CFD Forum 0 February 24, 2008 05:18


All times are GMT -4. The time now is 06:23.