|
[Sponsors] |
Setting up a transient case with laminar incompressible flow |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 14, 2019, 06:41 |
Setting up a transient case with laminar incompressible flow
|
#1 |
New Member
Join Date: Apr 2019
Posts: 12
Rep Power: 7 |
Dear Foamers, I am trying to set up a transient case. The velocity is slow: Re =17 The mesh is a 3D Mesh, basically a U-shaped channel. I never tried to solve a case in openFoam with transient conditions. My setup is: U: Inlet : (0 -0.0076 0), everything else 0 p: Outlet: fixedValue 0; In the controldict: adjustTimeStep is activated max Co 1, Solver is the pimpleFoam in the Piso-mode What I am trying to achieve is something like that: https://www.youtube.com/watch?v=jx3DQn33MHE But the time steps are getting smaller and smaller my deltaT is about 1e-10. And when I deactivate the maxCo and the timesteps, the courant number rises. And the velocity profile doesn’t look like the video at all. Shall I wait or is everything wrong? Kind regards |
|
May 14, 2019, 07:01 |
|
#2 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Hi!
Your outlet is a zeroGradient for U and the inlet is zeroGradient for p? Try to use a bit smaller Co (maybe 0.8-0.9) to be sure you wont exceed 1. What about your mesh? Run a checkMesh so if you have a really poor mesh it'll complaining! |
|
May 14, 2019, 08:20 |
|
#3 | |||
New Member
Join Date: Apr 2019
Posts: 12
Rep Power: 7 |
Hey,
Quote:
Yeah, exactly, I've checked Quote:
Ok, I set the maxCo =0.8 but the timesteps are still getting smaller... Quote:
The Mesh is OK and the steady state worked fine... |
||||
May 14, 2019, 08:34 |
|
#4 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Can you share your case?
I'm out of guesses, and if no one will give you the right hint, I'll check it. It doesn't seems to be a hell complicated case. |
|
May 15, 2019, 05:25 |
|
#5 |
New Member
Join Date: Apr 2019
Posts: 12
Rep Power: 7 |
Yeah sure,
It would be wonderful, because I am pretty stuck.... https://www.dropbox.com/s/m9kr4vzsm9...Daily.zip?dl=0 Thanks! |
|
May 16, 2019, 04:40 |
|
#6 |
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12 |
Try inletOutlet for your velocity outlet condition.
__________________
If you liked my answer to your question, please consider leaving a "Like" in return |
|
May 16, 2019, 06:29 |
|
#7 |
New Member
Join Date: Apr 2019
Posts: 12
Rep Power: 7 |
Hey,
I've tried it but the deltaT ist still around 2e-7. Maybe I should start with a 2D case first.... |
|
May 16, 2019, 06:35 |
|
#8 | |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,290
Rep Power: 34 |
Quote:
i opened the mesh and it shows very very small volume of 1E-18 m3 types. Also does it really have those crumbles on the surface as this image shows. |
||
May 16, 2019, 07:34 |
|
#9 |
New Member
Join Date: Apr 2019
Posts: 12
Rep Power: 7 |
hmm.. I guess this small volumes are the result from trying to flatten the mesh in icem and also this crumbles. I guess I was lucky, that steady case worked...
But even when I chop off the unstructured part, the result remains the same. Here is the "short" version, if it helps: https://www.dropbox.com/s/3b47zh3xs7...short.zip?dl=0 |
|
May 16, 2019, 17:12 |
|
#10 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Hi!
Sorry for the late answer. So I checked your case. inletOutlet can be a bit dangerous. You can have really unphysical results. Your 1st case seems to be really weird. I mean the mesh. Also the max nonorthogonality is ~83 if i remember well, which is pretty high. But I think the mesh is also problematic in the second case you provided. It seems to be nice, checkmesh -> no error, but my first guess was that the mesh is bad. So i made a really fast rubbish mesh with snappyHexMesh, and the case ran perfectly as it should. I suggest you to recreate the mesh. Try to create a simpler mesh, or just a coarser one, and if it works refine it. I also made some modifications in the files. You can find your modified case in the following link. https://drive.google.com/file/d/1cV5...ew?usp=sharing Again!!! This mesh is really ugly, and you should doublecheck everything in the provided case, maybe i did some silly thing, but it is working without any problems for me. You should tighten the tolerances, etc. Also there is a comment in the fvSolution file, I haven't used the foundation OF for a long time and i had no more time for that so sorry for the crap case. |
|
May 19, 2019, 13:26 |
|
#11 |
New Member
Join Date: Apr 2019
Posts: 12
Rep Power: 7 |
Thank you soooooo much!
I guess I was lucky that the steady case worked. I'll try and report you back And again sorry for your trouble!!!!!!!!!!! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting up a case for a plane plate in a longitudinal flow | Chronique | OpenFOAM Running, Solving & CFD | 0 | October 9, 2014 15:17 |
Ratio of eddy viscosity to molecular viscosity : Laminar or turbulent flow? | JuPa | CFX | 7 | September 9, 2013 08:45 |
Cells with t below lower limit | Purushothama | Siemens | 2 | May 31, 2010 22:58 |
incompressible flow over laminar plate | varunjain89 | Main CFD Forum | 1 | March 4, 2010 07:58 |
3D Incompressible turbulent flow validation case | Yu | Main CFD Forum | 2 | April 4, 2008 04:13 |