|
[Sponsors] |
May 3, 2018, 16:19 |
Entropy Calculation openFOAM V. 5.x
|
#1 | ||
New Member
Andre Sato
Join Date: Jul 2011
Location: Brazil
Posts: 1
Rep Power: 0 |
Hi,
Been trying to calculate the entropy field through openFOAM 5.X. My problem is a simple channel (1 inlet 1 outlet) with heated walls and air flowing. So far, I tried to use the conclusions presented by Bruno in Entropy calculation in OpenFoam post #11 But still not beeing able to compile entropy.c. Because it was intended to openFOAM 2.2X I suppose. So far, I changed the Make/options file to include the line: Quote:
Quote:
I have very little knowledge on programming in openFOAM. Any help would be of great value. Thanks. Andre |
|||
May 7, 2018, 01:55 |
|
#2 |
Member
Join Date: Aug 2015
Posts: 37
Rep Power: 10 |
Try replacing
Code:
fvPatchScalarField& pS = S.boundaryField()[patchi]; Code:
fvPatchScalarField& pS = S.boundaryFieldRef()[patchi]; |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Error in sourcing OpenFOAM 5.x | WhiteW | OpenFOAM Installation | 14 | April 18, 2018 21:00 |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 14:24 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 09:04 |
Entropy calculation in OpenFoam | immortality | OpenFOAM | 23 | September 8, 2013 17:18 |