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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 17, 2016, 15:16
Default Reactions on the biofilm
  #1
New Member
 
Fidel Vallejo
Join Date: Dec 2015
Location: Santiago
Posts: 7
Rep Power: 7
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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 14:39
Problem with Volumetric Reactions in Fluent Kashif Rashid Fluent UDF and Scheme Programming 2 December 28, 2017 00:36
Need Clarification regarding Volumetric Reactions in Fluent Kashif Rashid Fluent UDF and Scheme Programming 0 October 3, 2014 10:59
inconsistency in the chemical reactions in Reacting Foam? lfgmarc OpenFOAM Running, Solving & CFD 1 October 10, 2011 11:11
porous medium and reactions Valeria FLUENT 1 July 10, 2009 03:58


All times are GMT -4. The time now is 09:58.