|
[Sponsors] |
July 9, 2010, 13:24 |
Disappeared boundary conditions
|
#1 |
Member
Franco Marra
Join Date: Mar 2009
Location: Napoli - Italy
Posts: 68
Rep Power: 17 |
Dear all,
I am getting crazy with an issue that looks like a bug but maybe it is only a result of my inexperience with OpenFOAM coding. I have tried to modify the rhoPisoFoam solver to include a forcing term into the equations of momentum and energy. The code is compiled and executes perfectly apart from the fact that all data files at the different time steps miss the ending section with the indication of boundary conditions and look like that: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.6.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0.0005"; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; internalField nonuniform List<scalar> 61440 ( 298.064 297.757 297.578 297.453 . . (cut lines) . 299.745 298.457 ) ; } } // ************************************************************************* // The two curly brackets seem a symptom of something wrong. I am even more surprised that the restart of runs from such time directories with initial fields without the listing of boundary conditions works. Which boundary conditions are assigned in this case ? Any hint on where I have to look to understand what is happening will be very gratefully appreciated. Let me know which other information I have to provide to allow a clear statement of the problem. Kindest regards, Franco |
|
July 9, 2010, 14:43 |
|
#2 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
I would guess that you are looking at last lines of the boundary condition values.
Scrolling up a bit will show you the types. Just search for a name of one of the patches. |
|
July 9, 2010, 17:40 |
|
#3 |
Member
Franco Marra
Join Date: Mar 2009
Location: Napoli - Italy
Posts: 68
Rep Power: 17 |
Good Lord!
You are right ! Thank you so much, Niklas, for your reply. I have always seen boundary conditions listed at the end of files from all tutorials I ran. I would never discovered it without your advice. My best regards, Franco |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Impinging Jet Boundary Conditions | Anindya | Main CFD Forum | 25 | February 27, 2016 12:58 |
symmetry boundary conditions in cfx | lost.identity | CFX | 41 | May 22, 2013 07:21 |
[Netgen] boundary conditions and mesh exporting | vaina74 | OpenFOAM Meshing & Mesh Conversion | 2 | May 27, 2010 09:38 |
Pressure boundary conditions | Lionel S. | Main CFD Forum | 1 | August 24, 2007 18:03 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 04:15 |