CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

How to extract viscous dissipation

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

LinkBack Thread Tools Search this Thread Display Modes
Old   April 2, 2019, 07:44
Default How to extract viscous dissipation
New Member
Join Date: Sep 2018
Posts: 27
Rep Power: 7
blackpingu is on a distinguished road
I am new to OpenFoam and have tried to extract the viscous term from my own PisoFoam, with :

V= turbulence->divDevReff(U);
and get the following error when compiling

UEqn.H:17:28: error: no match for 'operator=' (operand types are 'Foam::volVectorField {aka Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>}' and Foam::tmp<Foam::fvMatrix<Foam::Vector<double> > >')
 V= turbulence->divDevReff(U);
can I instead use a sentence like this perhaps, will that give me the same value as the one I tried?:

blackpingu is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Residuals and forces spiraling out of control before failing edomalley1 OpenFOAM Running, Solving & CFD 3 September 7, 2018 10:42
compressibleInterFoam incl. viscous dissipation heating vigges OpenFOAM Programming & Development 5 June 10, 2018 06:06
Viscous dissipation UDF for multiphase DDPM bhargavbharathan Fluent Multiphase 0 November 30, 2016 12:17
Viscous Dissipation or Similar mikeclegg Main CFD Forum 1 November 25, 2014 05:49
VISCOUS heat dissipation Joseph CFX 0 October 1, 2004 08:52

All times are GMT -4. The time now is 00:57.