|
[Sponsors] |
pimpleFoam deltaT increases rapidly running TJunction like simulation? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 19, 2014, 04:18 |
pimpleFoam deltaT increases rapidly running TJunction like simulation?
|
#1 |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
I linked all the project files, just use pimpleFoam to run it to see what I noticed. Basically I have no idea why the deltaT is increasing rapidly when it is supposed to only change by .0005. I'm not sure about the Courant number and timesteps so that might be it.
This project is a hack made from looking over the TJunction tutorial (in order to make sense out of it). I used Salome to make a mesh (could the mesh not be fine enough?). I included the hdf and step file from that along with the final unv file before creating the boundary files with the ideasUnvtoFoam command. I then looked over the U,p,nut,k,nuTilda files in the TJunction to properly setup the new boundary files. The thing I also noticed in paraFoam was that the glyph setting for lines never had a pressure more than 10 (always red). But the simulation also does not generate a 1000 data sets. Last edited by massive_turbulence; April 19, 2014 at 04:27. Reason: grammar |
|
April 21, 2014, 03:46 |
|
#2 |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
I think this controlDict file might solve the system, anyone with suggestions let me know if you think of something. I changed the maxCo and timeStep properties,
Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // application pimpleFoam; startFrom startTime; startTime 0; stopAt endTime; endTime .05; deltaT .000001; writeControl adjustableRunTime; writeInterval .001; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression uncompressed; timeFormat general; timePrecision 6; runTimeModifiable true; adjustTimeStep yes; maxCo .5; functions { probes { // Where to load it from functionObjectLibs ( "libsampling.so" ); type probes; // Name of the directory for probe data name probes; // Write at same frequency as fields outputControl outputTime; outputInterval 1; // Fields to be probed fields ( p U ); probeLocations ( ( 1e-06 0 0.01 ) // at inlet ( 0.21 -0.20999 0.01 ) // at outlet1 ( 0.21 0.20999 0.01 ) // at outlet2 ( 0.21 0 0.01 ) // at central block ); } } // ************************************************************************* // |
|
April 21, 2014, 11:31 |
|
#3 |
Member
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 15 |
Might you explain what you mean when you say deltaT is only supposed to change by 0.0005 or so?
Using pimpleFoam means you assume unsteady flow, so there will be fluctuations in your flow velocity at certain points which, as I'm sure you know, will vary your convective CFL number. Can you show an output file? |
|
April 21, 2014, 13:29 |
|
#4 | |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
Quote:
My deltaT for the following output was supposed to run with .0005 but you'll see it goes a lot higher like .2. Yes, unsteady meaning variables change with time (AFAIK pressure, temp) and no I had no idea it would vary the convective CFL, here's the output for the 0.0005 case (not using the controlDict in my second post, that one actually completes). The output was super long, here's the pastebin link for it. |
||
April 21, 2014, 13:39 |
|
#5 |
Member
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 15 |
Well, I see its trying hard to reach the max CFL you set. Since it's using large values of deltaT, that means that your cell sizes are probably very large. I would re-mesh with a grid with more reasonable cell sizes, but then again I am not sure what your current mesh looks like.
|
|
April 21, 2014, 15:43 |
|
#6 | |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
Quote:
I included the hdf files from Salome and the Unv for openFoam. I already ran ideasUnvtoFoam so the constant directory has the mesh setup. |
||
April 24, 2014, 16:15 |
|
#7 | ||
Member
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 15 |
Quote:
Quote:
|
|||
April 24, 2014, 18:38 |
|
#8 | |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
Quote:
Around what range should I be though, around 16 million exactly or can I be around 1 million and still get a good simulation? |
||
April 24, 2014, 22:09 |
|
#9 | |
Member
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 15 |
Quote:
|
||
Tags |
deltat, increasing, pimplefoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running stably with a large Courant number using pimpleFoam | mlawson | OpenFOAM | 11 | November 29, 2014 11:37 |
Replacing mesh while running a simulation | akultane | CFX | 1 | November 15, 2009 14:46 |
What do you CFD guys do during a long simulation running? | bearcat | Main CFD Forum | 5 | July 23, 2009 09:08 |
running a simulation | shuo | Main CFD Forum | 0 | February 24, 2008 06:18 |
star is not running the simulation in windows | Arnab | Siemens | 1 | August 2, 2004 03:40 |