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

Reactions on the biofilm

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 17, 2016, 16:16
Default Reactions on the biofilm
  #1
New Member
 
Fidel Vallejo
Join Date: Dec 2015
Location: Santiago
Posts: 7
Rep Power: 10
fvallejog is on a distinguished road
Hi OpenFOAMERS

Would you help me with a tips of C++ plus OpenFOAM????

My problem is:

I created a new Solver based on "scalarTransportFoam": The file ".C" is:

Quote:
Quote:
while (simple.loop())
{
Info<< "Time = " << runTime.timeName() << nl << endl;

while (simple.correctNonOrthogonal())
{
solve
(
fvm::ddt(CT)
+ fvm::div(phi, CT)
- fvm::laplacian(DT, CT)

==
fvOptions(CT)
);


The solver compile without problems.

But, my model do not finish yet!

I want to put a new set of equations, like this: The difficult part is that the equations is only true in the region where U=0, it means in the surface region named "fixedWalls".



Quote:
if (U.component(0))=0;
solve
(
fvm::ddt(CT)
+ fvm::div(phi, CT)
- fvm::laplacian(DT, CT)
- umax*X/Yp*CT/(Ks+CT)
==
fvOptions(CT)
);
Please, I wait any comment.

Fidel
fvallejog is offline   Reply With Quote

Reply

Tags
mass transfer, openfoam, scalartransportfoam, solvers, superficial reaction


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
How are chemical reactions stored after parsing? DanielW OpenFOAM Programming & Development 3 June 7, 2018 15:39
Problem with Volumetric Reactions in Fluent Kashif Rashid Fluent UDF and Scheme Programming 2 December 28, 2017 01:36
Need Clarification regarding Volumetric Reactions in Fluent Kashif Rashid Fluent UDF and Scheme Programming 0 October 3, 2014 11:59
inconsistency in the chemical reactions in Reacting Foam? lfgmarc OpenFOAM Running, Solving & CFD 1 October 10, 2011 12:11
porous medium and reactions Valeria FLUENT 1 July 10, 2009 04:58


All times are GMT -4. The time now is 13:03.