# Conjugated solver for momentum and energy equations system

 Register Blogs Members List Search Today's Posts Mark Forums Read

 March 18, 2009, 10:46 Conjugated solver for momentum and energy equations system #1 Senior Member   Dr. Alexander Vakhrushev Join Date: Mar 2009 Posts: 250 Blog Entries: 1 Rep Power: 19 Hello colleagues! First of all I would like to express my gratitude to Professor Hrvoje Jasak for developing such powerful CFD tool like OpenFOAM! My question concerns solution of momentum-energy equations system. In my study case they are conjugated due to drag force source terms for momentum equation. I'm developing transient solver for this task. So it would be rather useful to get an opinion of OpenFOAM experienced users: 1. Is there any built-in tool to solve system of conjugated PDE system? 2. Are there some methods of non-linear PDE solution implemented in OpenFOAM? Suppose we have system: dU/dt + F(U,T) = 0 dT/dt + G(U,T) = 0 (d/dt - is partial derivative, specific heat supposed to be constant so we get from enthalpy to temperature) Adding energy equation (like in http://openfoamwiki.net/index.php/Ho...e_to_icoFoam): /************************************************** ***********************/ for (runTime++; !runTime.end(); runTime++) { Info<< "Time = " << runTime.timeName() << nl << endl; # include "readPISOControls.H" # include "CourantNo.H" /************************************************/ /* MOMENTUM EQUATION */ /************************************************/ // Momentum equation system fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U) - fvm::laplacian(nu, U) - fvm::Sp(S_D, U) ); // Solution of momentum equation solve(UEqn == - fvc::grad(p) + S_B); // --- PISO loop for (int corr=0; corr

 March 27, 2009, 03:16 #2 Senior Member   Dr. Alexander Vakhrushev Join Date: Mar 2009 Posts: 250 Blog Entries: 1 Rep Power: 19 Ok, I found a solution, thank you all for attention. __________________ Best regards, Dr. Alexander VAKHRUSHEV Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics" Simulation and Modelling of Metallurgical Processes Department of Metallurgy University of Leoben http://smmp.unileoben.ac.at

 April 13, 2009, 11:29 #3 Member   Nugroho Adi Join Date: Mar 2009 Location: norway Posts: 79 Rep Power: 17 Dear Dr. A. Vakhrushev which solver you used for simulation? Regards Nugroho

April 14, 2009, 02:16
#4
Senior Member

Dr. Alexander Vakhrushev
Join Date: Mar 2009
Posts: 250
Blog Entries: 1
Rep Power: 19
Quote:
 Originally Posted by mahaputra Dear Dr. A. Vakhrushev which solver you used for simulation? Regards Nugroho
Hi Nugroho!
It is self-made solver on the basis of icoFoam (for laminar flow ofcourse).
__________________
Best regards,

Dr. Alexander VAKHRUSHEV

Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics"

Simulation and Modelling of Metallurgical Processes
Department of Metallurgy
University of Leoben

http://smmp.unileoben.ac.at

 Tags conjugated solver, coupling, energy, momentum