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

Difference between Calc function in Kinematicparcel.C and ReactingParcel.C

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By ybapat
  • 1 Post By ybapat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 24, 2019, 23:06
Default Difference between Calc function in Kinematicparcel.C and ReactingParcel.C
  #1
Senior Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 204
Rep Power: 7
farzadmech is on a distinguished road
Hello dear friends
What is the Difference between Calc function in Kinematicparcel.C and ReactingParcel.C?



Thanks,
Farzad
farzadmech is offline   Reply With Quote

Old   December 25, 2019, 00:18
Default
  #2
Senior Member
 
Yogesh Bapat
Join Date: Oct 2010
Posts: 102
Rep Power: 15
ybapat is on a distinguished road
ReactingParcel has more functionalities than KinematicParcel. Hence calc function includes heat transfer and phase change etc.
farzadmech likes this.
ybapat is offline   Reply With Quote

Old   December 25, 2019, 08:14
Default Calcphasechange
  #3
Senior Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 204
Rep Power: 7
farzadmech is on a distinguished road
Thanks for your reply.
I want to add calcphasechange to kinematicParcel.c. There are already a calc function in kinematicParcel in which code calls calcVelocity. I want to implement calcphasechange in kinematicParcel. Where should I call it? Inside cacl(in which we call calcvelocity) or outside of it?


Thanks
Farzad Farajidizaji
farzadmech is offline   Reply With Quote

Old   December 26, 2019, 02:23
Default
  #4
Senior Member
 
Yogesh Bapat
Join Date: Oct 2010
Posts: 102
Rep Power: 15
ybapat is on a distinguished road
Hello,


You can use reactingParcel if that is more suitable to you instead of adding phase change to kinematicParcel.



Regards,

-Yogesh
farzadmech likes this.
ybapat is offline   Reply With Quote

Old   December 27, 2019, 20:57
Default
  #5
Senior Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 204
Rep Power: 7
farzadmech is on a distinguished road
thanks for your reply. In reactingParcelFoam and I have a problem in below function;
Code:
// Calc mass and enthalpy transfer due to phase change
    calcPhaseChange
    (
        cloud,
        td,
        dt,
        Res,
        Prs,
        Ts,
        mus/rhos,
        d0,
        T0,
        mass0,
        0,
        1.0,
        Y_,
        dMassPC,
        Sh,
        Ne,
        NCpW,
        Cs
    );
I can not find where is Y_ is defined?


Thanks,
Farzad Farajidizaji


Quote:
Originally Posted by ybapat View Post
Hello,


You can use reactingParcel if that is more suitable to you instead of adding phase change to kinematicParcel.



Regards,

-Yogesh
farzadmech 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



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