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

Adding energy/Temprature equation in viscoelasticFluidFoam solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 11, 2020, 07:48
Smile Adding energy/Temprature equation in viscoelasticFluidFoam solver
  #1
Member
 
idrees khan
Join Date: Jun 2019
Posts: 36
Rep Power: 7
idrees khan is on a distinguished road
Dear Members,


I want to Add energy/Temperature Equation in viscoelasticFluidFoam solver but i'm not

sure how to add? but i write it like so


fvScalarMatrix TEqn
(
fvm::ddt(T)

+ fvm::div(phi,T)

+ fvm::laplacian(k,T)

- 1.0/rho/Cv *(Gamma*(visco.tau() && Foam::symm(fvc::grad(U))) +



fvm::laplacian(etas,U) && Foam::fvc::grad(U)) +

Cb*T*(U & Foam::fvc::grad(p)) + Q*A*C*fvm::sp(exp(-E/R*T)))
);


TEqn.relax();
TEqn.solve();




humble request to those who are good in programing kindly guide me.
also the pic of the equation from the paper is also attached
Attached Images
File Type: jpg Screenshot from 2020-11-11 12-27-33.jpg (43.8 KB, 7 views)
idrees khan 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding diffusion term to interFoam transport equation Gearb0x OpenFOAM Programming & Development 3 February 14, 2023 05:16
multiRegionHeater error ordinary OpenFOAM Running, Solving & CFD 2 June 9, 2020 18:43
Domain Reference Pressure and mass flow inlet boundary AdidaKK CFX 75 August 20, 2018 06:37
Problem with Velocity Poisson Equation and Vector Potential Poisson Equation mykkujinu2201 Main CFD Forum 1 August 12, 2017 14:15
Poisson equation in custom solver diverges for large boundary values babakflame OpenFOAM Running, Solving & CFD 2 May 23, 2017 21:11


All times are GMT -4. The time now is 07:40.