CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Are there anybody study in compute wind engineering (http://www.cfd-online.com/Forums/openfoam-solving/58286-there-anybody-study-compute-wind-engineering.html)

ivanyao November 17, 2008 21:06

hi, I am simulating a wind pr
 
hi,
I am simulating a wind pressure on a building,my inlet boundary conditin(u k ε) are not a constant,so I must write a new BC to my case,I have compile them (u k ε) successfully,so I follow the step
1.add libs ("libu.so")
libs ("libk.so")
libs ("libε.so")
in my system/controlDict
it is ok when I only add libs ("libu.so")in my system/controlDict,and I can calculate successfully,
when I add libs ("libk.so"),it show
--> FOAM Warning :
From function dictionary::read(Istream&, const word&)
in file db/dictionary/dictionaryIO.C at line 92
Reading "/home/ivan/OpenFOAM/ivan-1.4.1/run/tutorials/turbFoam/case1/system/controlDict" at line 28
could not add entry
libs ( "libK.so" );
on line 28 of dictionary "/home/ivan/OpenFOAM/ivan-1.4.1/run/tutorials/turbFoam/case1/system/controlDict"
entry already in dictionary :
ITstream : /home/ivan/OpenFOAM/ivan-1.4.1/run/tutorials/turbFoam/case1/system/controlDict:: libs, line 27, IOstream: Version 2.0, format ASCII, line 27, OPENED, GOOD
when I try to calculate,it is show:
-> FOAM FATAL ERROR :
gradientInternalCoeffs cannot be called for a defaultFvPatchField (actual type k)
on patch inlet of field epsilon in file "/home/ivan/OpenFOAM/ivan-1.4.1/run/tutorials/turbFoam/case1/0/k"
You are probably trying to solve for a field with a default boundary condition.

From function defaultFvPatchField<type>::gradientInternalCoeffs( ) const
in file fields/fvPatchFields/basic/default/defaultFvPatchField.C at line 694.

FOAM exiting
can someone give me a hand?I appreciate it.thank you.

carrie November 17, 2008 22:17

HI, I have the same problem,b
 
HI,
I have the same problem,but i do not know how to do,if you find the problem, post it on here.thank you.

ivanyao November 25, 2008 21:48

This is a picture of me: http
 
This is a picture of me: http://www.cfd-online.com/OpenFOAM_D...hment_icon.gif case1.rar


All times are GMT -4. The time now is 04:34.