|
[Sponsors] |
May 11, 2021, 22:52 |
species formation rate in OpenFOAM
|
#1 |
New Member
nuralam
Join Date: Mar 2021
Posts: 6
Rep Power: 5 |
Hi,
I want to measure formation rate of species in OpenFOAM using the following: dydt(n)= {Y(n-1) - Y (n+1)} / {t(n-1)-t(n+1)} //2nd order accuracy where, Y(n-1) and Y(n+1) are mass fraction of species at time t(n-1) and t(n+1) respectively. Could you please tell me how I can store time date and calculate dydt(n)? Redards, NurAlam |
|
May 12, 2021, 13:20 |
|
#2 |
Senior Member
|
What do you mean by y? Mass species? Does y have a spatial variation? Is yes, in which location (patch, (sub-)volume) do you want to measure the time derivative?
Values for t(n) can be read from log file. |
|
May 12, 2021, 18:03 |
|
#3 | |
New Member
nuralam
Join Date: Mar 2021
Posts: 6
Rep Power: 5 |
Quote:
Yeah, Y is specie mass fraction which is generated by solving specie transport eqution. I am running a simple case of planner channel for reacting flow where left side and right side are inlet and outlet respectively. I want to measure time derivative of Y along the channel length. I do not understand how I use code to get this. -NurAlam |
||
May 13, 2021, 04:10 |
|
#4 |
Senior Member
|
Wonderful to read your reply.
Do you agree that dydt is a partial derivative that has a value in each cell of the mesh? Possibly it helps to explain what your interest in dydt is. Possibly we can find other ways to obtain the same information. |
|
May 13, 2021, 08:54 |
|
#5 |
New Member
nuralam
Join Date: Mar 2021
Posts: 6
Rep Power: 5 |
Yeah, you are right.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
Problem related to defining of species flow rate in FLUENT. | chinu007 | FLUENT | 0 | April 8, 2021 05:48 |
Wall-Surface Reactions and Solid species interactions - Simulating carbon formation | Schluckner | FLUENT | 0 | January 26, 2015 09:59 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |
*** Species generation rate? *** | Carlos | FLUENT | 1 | February 21, 2009 21:58 |