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

Disappeared boundary conditions

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 9, 2010, 14:24
Default Disappeared boundary conditions
  #1
Member
 
Franco Marra
Join Date: Mar 2009
Location: Napoli - Italy
Posts: 50
Rep Power: 7
francescomarra is on a distinguished road
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
)
;
    }
}


// ************************************************************************* //
All files in each time directory for every variable have the same behaviour.

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
francescomarra is offline   Reply With Quote

Old   July 9, 2010, 15:43
Default
  #2
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 692
Rep Power: 18
niklas will become famous soon enough
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.
niklas is offline   Reply With Quote

Old   July 9, 2010, 18:40
Default
  #3
Member
 
Franco Marra
Join Date: Mar 2009
Location: Napoli - Italy
Posts: 50
Rep Power: 7
francescomarra is on a distinguished road
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
francescomarra is offline   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
symmetry boundary conditions in cfx lost.identity CFX 41 May 22, 2013 08:21
Impinging Jet Boundary Conditions Anindya Main CFD Forum 24 January 11, 2012 14:40
boundary conditions and mesh exporting vaina74 Open Source Meshers: Gmsh, Netgen, CGNS, ... 2 May 27, 2010 10:38
Pressure boundary conditions Lionel S. Main CFD Forum 1 August 24, 2007 19:03
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 05:15


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