|
[Sponsors] |
[Other] how run a DNS for ZPG turbulent boundary layer on a plate with OpenFOAM? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 17, 2012, 11:56 |
how run a DNS for ZPG turbulent boundary layer on a plate with OpenFOAM?
|
#1 |
New Member
ashkan
Join Date: Jul 2011
Posts: 6
Rep Power: 15 |
Hello
i need to run a direct numerical simulation for my research on Zero Pressure Gradient (ZPG) Turbulent Boundary Layer (TBL) on a plate. i find that perhaps i can do this with dnsFoam in OpenFOAM. but i am beginner in OpenFOAM, i run dnsfoam from tutorial but when i want change the mesh size from 16*16*16 to for example 32*32*32 and run the solver by type dnsFoam in terminal below error appeared. Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.1.0-0bc225064152 Exec : dnsFoam Date : Mar 17 2012 Time : 18:52:22 Host : "ubuntu" PID : 5381 Case : /home/ashkan/OpenFOAM/ashkan-2.1.0/run/DNS/dnsFoam/boxTurb16 nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh, no clear-out for time = 0 Reading transportProperties Reading field p Reading field U --> FOAM FATAL IO ERROR: size 4096 is not equal to the given value of 32768 file: /home/ashkan/OpenFOAM/ashkan-2.1.0/run/DNS/dnsFoam/boxTurb16/0/U from line 18 to line 4146. From function Field<Type>::Field(const word& keyword, const dictionary&, const label) in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude/Field.C at line 236. FOAM exiting |
|
March 17, 2012, 12:29 |
|
#2 | |
Disabled
Join Date: Mar 2011
Posts: 174
Rep Power: 15 |
Quote:
And read the manual again. :-) |
||
May 15, 2012, 06:09 |
Solution
|
#3 |
Senior Member
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18 |
anon_a's diagnosis was right, but there is a really easier way to solve it. This case is being initialized with boxTurb, not by mapFields or else.
Go to root/0 directory, open U file and change the internalField nonuniform bla bla to internalField uniform (0 0 0); then run the boxTurb utility and you're good to go |
|
October 9, 2015, 06:08 |
Boundary Layer DNS using dnsFoam?
|
#4 |
New Member
Malik
Join Date: Oct 2015
Posts: 1
Rep Power: 0 |
Did you modify the code dnsFoam for zpg boundary layer flow? dnsFoam is for isotropic turbulence.
|
|
Tags |
dns, dnsfoam, tbl, zpg |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
y+ = 1 boundary layer mesh with snappyHexMesh | Arzed23 | OpenFOAM Running, Solving & CFD | 6 | November 23, 2022 16:15 |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 08:30 |
Developed turbulent boundary layer simulation on flat plate | Turbulent | CFX | 3 | June 8, 2015 20:46 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |
errors | Fahad | Main CFD Forum | 0 | March 23, 2004 14:20 |