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

Disappeared boundary conditions

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 9, 2010, 13:24
Default Disappeared boundary conditions
  #1
Member
 
Franco Marra
Join Date: Mar 2009
Location: Napoli - Italy
Posts: 68
Rep Power: 17
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, 14:43
Default
  #2
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas 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, 17:40
Default
  #3
Member
 
Franco Marra
Join Date: Mar 2009
Location: Napoli - Italy
Posts: 68
Rep Power: 17
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 01:28.