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

Help with large sim

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 29, 2007, 19:23
Default Help with large sim
  #1
stu
Guest
 
Posts: n/a
Hi, I am trying to simulate a 45,000 Ltire being filled with water. I have created a multiphase sim with the inital volume fraction of air at 1. The intlet has a vf of water of 1 and air 0, naturally. The water is being pmped into the tank via a 2" inlet at 3.11 m/s (uniform speed).

When I originally ran the sim, I was using a mesh of 1M elements and a timestep of 15 seconds. Things were bad! I then refined the mesh to 3.4M elements, changed the time step to 0.25 seconds. This was good, the courant number was around 30, a bit high but livable. The problem is I wanted to simulate the tank filling for 2 hours, after 8.5 hours of solving, my quad core CPU with 4 gig ram had done 15 time steps, that was 3.75 seconds of actual 'flow'. Under these conditions it would take 1.86 years to complete. Note that CPU was at 100% and the sim was entirely in RAM, no spool to HDD.

My question is, if I am only interested in the water portion and don't care about the air, is there any way I can setup the sim to make it viable in my lifetime.

The objective is to examine the effect of different inlet velocities and inlet anlges have on the mixing of the fluids. eg when the tank was to get to 30 % full, a different liquid was going to be injected into the tank, I have not done this yet as the sim would have taken too long to get to 30% full.

Can I create say 10 tanks, the first tank being the bottom 10% of the tank, run this sim on this until it gets reasonably full, then use another tank that is the botton 20% and map the previous results into the new domain. That way I am not solving the extra 'air' elements/equations that I don't care about. What are your thoughts about this kind of approach? I dont know how to map results from the 10% domain to the initial conditions of the 20% domain.

Any help would be appreciated. Thanks Stu

  Reply With Quote

Old   May 30, 2007, 06:21
Default Re: Help with large sim
  #2
Phil
Guest
 
Posts: n/a
Theoretically, you could calculate the location of the free surface analytically and then use an icemcfd macro to generate a different mesh for each timestep. This would eliminate the air phase but this would only reduce the solving time modestly.

Try using symmetry. A 2D approximation would reduce computing time by an order of magnitude.

If you simply have to solve the 3D problem hire computing time on a cluster.

Physical scale modeling is another option.
  Reply With Quote

Old   May 30, 2007, 06:36
Default Re: Help with large sim
  #3
stu
Guest
 
Posts: n/a
I can't take advantage of symmetry but I have had a thought. Part 2 of tutorial 20 uses junction box routines to 'change the mesh' maybe this approach is possible.

I have had another idea, could I use multiple domains that each represent say 10% of the height of the tank? Is there a way to turn off all calculation in a domian until I am ready to process that domain? I could process the bottom doam, wait until it gets to sday 50% full, then allow the domain that is sitting above it, that would be the 10 to 20% Height domain, to start calcualting.

Any thoughts?

Stu

  Reply With Quote

Old   May 30, 2007, 07:04
Default Re: Help with large sim
  #4
Rui
Guest
 
Posts: n/a
Hi,

Even if you managed to restrict your calculation domain to the liquid phase, your computation time would only be reduced to half: from 1.86 years to 0.93 years

I think you'll have to stay quite below the 1M elements mesh. And try to use hexa elementes wherever possible

Take a look at this: http://www.ansys.com/industries/cons...oiletvalve.htm It's about discharge instead of filling Here's the paper http://www2.dem.uc.pt/antonio.gameir...SEAS_paper.pdf I think it may give you some ideas about meshes and time steps

Rui
  Reply With Quote

Old   May 30, 2007, 08:15
Default Re: Help with large sim
  #5
Gert-Jan
Guest
 
Posts: n/a
Why do you do this transient CFD-calculation? Do you really need to know the full history of the filling of the vessel? Isn't it sufficient to create a mesh for the 30% fill and perform the stationary flow study with different inlet angles and inlet velocities?

I don't think the situation at 5% filling ratio will influence the situation at 30%, unless you want to solve complex chemical reactions that are competitive. If you have to solve that.........

Gert-Jan
  Reply With Quote

Old   May 30, 2007, 08:57
Default Re: Help with large sim
  #6
stu
Guest
 
Posts: n/a
Can I use the Step function in CEL to change the timestep each of the 10% full domains runs? eg initially start the second doamin which represents 10-20% Height at a long 1 minute time step, but when I want to turn it on, I use the step function to change the time step to 0.25 seconds, which ios the same as the 0-10% height domain? That was I would not have to calculate what the air is doing in a much large all encompassing domain.

Would this work for a transient analysis?

Thanks Stu

  Reply With Quote

Old   May 30, 2007, 13:38
Default Re: Help with large sim
  #7
Gert-Jan
Guest
 
Posts: n/a
What you can do is create a flat cilinder which represents the first 10% of your vessel. Using dynamic meshing, you can let this grow with the pace of the amount of water. When it is 20%, regrid your domain, interpolate the previous solution and let it grow further to say 40% ... and so on. You can represent the free surface as a wall with free slip. The pressure on this surface is a rough guess for the height of the disturbances.

This is a possible route but I still have my thoughts if this CFD-simulation is useful......

It won't be my approach.

Good luck, Gert-Jan

www.bunova.nl
  Reply With Quote

Old   June 4, 2007, 17:13
Default Re: Help with large sim
  #8
Lee Axon (Point Zero Consulting Ltd)
Guest
 
Posts: n/a
Hi Stu,

I offer a low cost processing only service for CFX simulations:

http://www.pointzeroconsulting.co.uk...rocessing.html

Drop me a mail if interested.

Cheers,

Lee.

  Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggested unsteady, implicit solver stable with arbitrarily large time steps djbungee OpenFOAM Programming & Development 45 March 23, 2015 05:14
Postprocessing large data sets in parallel evrikon OpenFOAM Post-Processing 27 June 22, 2011 03:34
LES on a scaled geomentry (Mesh and Large scales) comb Main CFD Forum 0 February 8, 2011 07:21
large vortex on outlet when gravity accounted for Alejandra Menchaca Phoenics 0 March 3, 2009 20:53
what happens if y+ is too large or too small Bo Jensen CD-adapco 12 February 20, 2003 00:31


All times are GMT -4. The time now is 03:09.