CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

potentialFoam problem

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

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   July 9, 2013, 06:29
Default potentialFoam problem
  #1
Member
 
subhendu
Join Date: Jun 2013
Location: kolkata,india
Posts: 39
Rep Power: 4
subhsngh is on a distinguished road
i am trying to get bc for my simulation using potential flow and this message is displayed on terminal


Reading field U


Calculating potential flow
Using dynamicCode for functionObject difference at line 53 in "/home/subh/OpenFOAM/subh-2.2.0/run/cylinder/system/controlDict.functions.difference"


--> FOAM FATAL ERROR:

gradientInternalCoeffs cannot be called for a calculatedFvPatchField
on patch ceiling of field p in file "/home/subh/OpenFOAM/subh-2.2.0/run/cylinder/0/p"
You are probably trying to solve for a field with a default boundary condition.

From function calculatedFvPatchField<Type>::gradientInternalCoef fs() const
in file fields/fvPatchFields/basic/calculated/calculatedFvPatchField.C at line 199.

FOAM exiting


i am also sending my casehttps://www.dropbox.com/s/x9n9o2neim...ylinder.tar.gz
subhsngh is offline   Reply With Quote

Old   July 13, 2013, 16:21
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,503
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Subhendu,

I got your private message some time ago, but only now did I finally managed to try to look into your case... but the link is broken, so there isn't much I can do

Best regards,
Bruno
subhsngh likes this.
wyldckat is offline   Reply With Quote

Old   July 15, 2013, 07:26
Default
  #3
Member
 
subhendu
Join Date: Jun 2013
Location: kolkata,india
Posts: 39
Rep Power: 4
subhsngh is on a distinguished road
i am posting my case again i deleted it by mistake
https://www.dropbox.com/s/x9n9o2neim...ylinder.tar.gz

i want to use these boundary conditions in buoyantsimpleFoam to study heat transfer properties
how can i use them
subhsngh is offline   Reply With Quote

Old   July 21, 2013, 07:45
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,503
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Subhendu,

I finally managed to look into this.
I've got a feeling that you provided the link for the wrong case, because I cannot get the same error you're getting.

What I've done is:
  1. Renamed the folder "0" to "0.org".
  2. Ran:
    Code:
    ./Allclean
    ./Allrun
I then got an error shown in the file "log.potentialFoam", for which I show the first part of the error:
Code:
Looking up field U

Reading inlet velocity  uInfX

#0  Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigSegv::sigHandler(int) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2   in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::errorFunctionObject::write() at system/controlDict.functions.difference:68
I think this is because there is no obstacle in your mesh. So, if I comment out the complete "functions" block inside the file "system/controlDict", then potentialFoam runs without problems.


Best regards,
Bruno
wyldckat 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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Problem in implementing cht tilek CFX 3 May 8, 2011 08:39
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


All times are GMT -4. The time now is 20:38.