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

how to Add the material derivative of log(T) in the constitutive equation's.

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By mAlletto
  • 1 Post By bigphil

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 20, 2021, 06:15
Smile how to Add the material derivative of log(T) in the constitutive equation's.
  #1
Member
 
idrees khan
Join Date: Jun 2019
Posts: 36
Rep Power: 6
idrees khan is on a distinguished road
Hi Dear's.

I'm going to Add temperature Equation to viscoelasticFluidFoam solver.



there is a material derivative term of log(T) (screenshot of the equation is attached )in the constitutive equation(I.e in this case Olroyd-B)



kindly if any one could guide me how to write that term in OldoydB.C file.



I add it like


volScalarField logT = log(T);
fvm::ddt(tau_,logT) + fvc::div(phi()*tau_,logT)



but getting error like(screenshot is also attached)



viscoelasticLaws/Oldroyd-B/Oldroyd_B.C:124:27: error: no matching function for call to ‘ddt(Foam::volSymmTensorField&, Foam::volScalarField&)’
fvm::ddt(tau_,logT) + fvc::div(phi()*tau_,logT)





Note:I change to fvc and fvm respectively but getting same error's.



regards

Idrees khan
Attached Images
File Type: jpg Screenshot from 2021-01-20 12-09-16.jpg (67.6 KB, 7 views)
File Type: png Screenshot from consitutive eqaution.png (41.1 KB, 18 views)
idrees khan is offline   Reply With Quote

 


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
Guide: Writing Equations in LaTeX on the CFD Online Forums pete Site Help, Feedback & Discussions 27 May 19, 2022 03:19
Simple piston movement in cylinder- fluid models arun1994 CFX 4 July 8, 2016 02:54
how can I add more terms in different equations for chemical reactions? biker Fluent Multiphase 1 March 27, 2015 12:19
modelling Differential equations in a udf RikardMNorén Fluent UDF and Scheme Programming 2 October 1, 2013 03:36
How to add transport equations alimansouri OpenFOAM Running, Solving & CFD 6 January 12, 2009 16:20


All times are GMT -4. The time now is 11:18.