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

Nonlinear source term like u*(1-u)?

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 23, 2012, 23:24
Default Nonlinear source term like u*(1-u)?
  #1
New Member
 
Chenguang Zhang
Join Date: Jul 2012
Location: Baton Rouge Louisiana
Posts: 15
Rep Power: 13
Taozi is on a distinguished road
Hello, everyone!

I have a quick question, how to specify nonlinear terms in the solver?

For example, I want to solve the KPP equation which reads
U_t = D*(U_{xx} + U_{yy}) + gamma * U * (1 - U)
(an example in matlab is: http://www.mathworks.com/matlabcentr...tent/pattern.m)

In what way should I express the nonlinear term u*(1-u) in the solver, I tried to do this based on the laplacianFoam.C in several ways, but none seemed to work. I was once told openFOAM can only handle linear forms...

Any help would be really appreciated!
Taozi is offline   Reply With Quote

 

Tags
nonlinear


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
Problem of SOURCE term gradient in UDS wind Fluent UDF and Scheme Programming 6 December 1, 2022 14:21
GPU Linear Solvers for OpenFOAM gocarts OpenFOAM Announcements from Other Sources 37 August 17, 2022 14:22
UDF source term jerome_ FLUENT 2 July 11, 2011 11:55
How to write source term into scalar Fiel JimKnopf OpenFOAM Programming & Development 0 March 23, 2011 05:59
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 11, 2000 03:43


All times are GMT -4. The time now is 05:41.