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

why laplacian() failed

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 27, 2010, 05:24
Unhappy why laplacian() failed
  #1
New Member
 
Jean P. Dubois
Join Date: Jan 2010
Posts: 2
Rep Power: 0
OFCrash is on a distinguished road
Hi guys im a newbie, i got a problem wired well..

i have 2 equations:
dT/dt=1/a*(div(b*grad(T)+div(c*grad(wl))) (1)
dwl/dt=1/d*(div(e*grad(T)+div(f*grad(wl))) (2)

a--f are functions of T and wl

so i give my solver here
fvm::ddt(T) (1)
==
1/a*fvm::laplacian(b,T)+1/a*fvc::lapalacian(c,wl)

fvm::ddt(wl) (2)
==
1/d*fvc::laplacian(e,T)+1/d*fvm::lapalacian(f,wl)

my ideas here is to separate the T and wl, so in (1)
"wl" is considered as known(fvc: and in (2) "T" is
considered as known(calculated from 1).

problem: the solver is compiled without errors and
it works but the results staye as initial conditions,
the "T" ad "wl" i got didnt change, they are around
the initial conditions and no convergence at all even
run longtime. it seems laplacian failed when reading
bundary conditions.

note: scheme of laplacian is linear corrected
scheme of ddt(T) backward
mesh:1D
initial condition: uniform
bundary condition:timeVaryingUniformFixedValue

thanks for all of your advices welcom~~
OFCrash is offline   Reply With Quote

Old   February 1, 2010, 07:32
Default
  #2
New Member
 
Jean P. Dubois
Join Date: Jan 2010
Posts: 2
Rep Power: 0
OFCrash is on a distinguished road
i tried another solver here
fvm::ddt(T) (1)
==
b/a*fvm::laplacian(T)+c/a*fvc::lapalacian(wl)

fvm::ddt(wl) (2)
==
e/d*fvc::laplacian(T)+f/d*fvm::lapalacian(wl)


this time the T and wl are resolved but the results of
T and wl are not good well, coz we couldnt get the
coeff "bcef" out of laplacian() if the "bcef" depend on
the T and wl.

so any1 have some ideas ?
OFCrash 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
Transient boundary conditions Jarrod Sinclair (Sinclair) OpenFOAM Running, Solving & CFD 133 May 6, 2015 06:21
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 13:43
connect failed with errno%3d113 wedsall OpenFOAM Running, Solving & CFD 2 November 3, 2008 04:17
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31
user defined function cfduser CFX 0 April 29, 2006 10:58


All times are GMT -4. The time now is 15:27.