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

Error after mapping fields

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2006, 19:47
Default Hello! I did a DNS in a chann
  #1
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Hello!
I did a DNS in a channel using a modified version of channelOodles. Now I would like to use the solution as initial condition for modified version of twoPhaseEulerFoam to which I added LES models.

I used mapFields with the -consistent option to map the velocity field from the DNS to the gas phase of the two phase channel.

The problems start when I run the solver. It properly starts and solves for alpha then it exits with this error message:

Starting time loop

Mean and max Courant Numbers = 0.00487117 0.0248064
Max Ur Courant Number = 0
Time = 0.05

BICCG: Solving for alpha, Initial residual = 1, Final residual = 7.03553e-11, No Iterations 6
Dispersed phase volume fraction = 0.1 Min(alpha) = 0.0996404 Max(alpha) = 0.100338
BICCG: Solving for alpha, Initial residual = 0.00474807, Final residual = 4.1854e-13, No Iterations 4
Dispersed phase volume fraction = 0.1 Min(alpha) = 0.0996413 Max(alpha) = 0.100336


--> FOAM FATAL ERROR : valueInternalCoeffs cannot be called for a calculatedFvPatchField.
You are probably trying to solve for a field with a calculated boundary conditions.

From function calculatedFvPatchField<type>::valueInternalCoeffs( const tmp<scalarfield>&) const
in file fields/fvPatchFields/basicFvPatchFields/calculated/calculatedFvPatchField.C at line 136.

FOAM exiting

I noticed mapField replaces the boundaryField section in the mapped fields files.

The solver properly iterates if I set uniform initial conditions.

What could it be?

Thanks in advance,
Alberto
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Reply


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
Mapping fields from fvMesh to tetPolyMesh hannes OpenFOAM Running, Solving & CFD 2 August 28, 2008 06:42
MultiDirRefinement class Bug on mapping fields zurdo OpenFOAM Bugs 12 December 17, 2007 05:54
Mapping volsurface symmTensor fields after a topological change jcmasters OpenFOAM Bugs 1 September 4, 2007 14:48
3D to 2D mapping Ramesh Main CFD Forum 0 April 9, 2007 02:07
Mapping fields hsieh OpenFOAM Pre-Processing 3 September 14, 2005 20:56


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