CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

simpleFoam with non uniform initial condition fails

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

LinkBack Thread Tools Search this Thread Display Modes
Old   January 18, 2017, 12:07
Default simpleFoam with non uniform initial condition fails
New Member
Join Date: Nov 2016
Posts: 2
Rep Power: 0
d.gavrila is on a distinguished road

I've a simpleFoam test case in which I replaced the U file with a non uniform initial condition filled from a calculation. The simpleFoam fails with the message :

cannot be called for a calculatedFvPatchField
on patch inlet of field U in file "/usr/local/pkg/src/OpenFOAM/rainbow-v1606+/run/tutorials/incompressible/simpleFoam/testCaseLIDAR/0/U"
You are probably trying to solve for a field with a default boundary condition.

From function Foam::tmp<Foam::Field<Type> > Foam::calculatedFvPatchField<Type>::gradientIntern alCoeffs() const [with Type = Foam::Vector<double>]
in file fields/fvPatchFields/basic/calculated/calculatedFvPatchField.C at line 187.

The whole test case ,inclusive the log.simpleFoam you can find at this URL

The direct upload did not work because the U file is quite big, the size of list is 1.6e06

Many thanks,
d.gavrila is offline   Reply With Quote


initial condition, non-uniform, simplefoam

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
chtMultiRegionSimpleFoam: maximum number of iterations excedeed. Nkl OpenFOAM Running, Solving & CFD 19 October 10, 2019 03:42
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 03:50
Wrong fluctuation of pressure in transient simulation caitao OpenFOAM Running, Solving & CFD 2 March 5, 2015 22:33
should Courant number always be kept below 1? wc34071209 OpenFOAM Running, Solving & CFD 16 March 9, 2014 20:31
Unknown error sivakumar OpenFOAM Pre-Processing 9 September 9, 2008 13:53

All times are GMT -4. The time now is 00:53.