|
[Sponsors] |
Adding energy/Temprature equation in viscoelasticFluidFoam solver |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 11, 2020, 07:48 |
Adding energy/Temprature equation in viscoelasticFluidFoam solver
|
#1 |
Member
idrees khan
Join Date: Jun 2019
Posts: 36
Rep Power: 7 |
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 |
|
|
|
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 |