CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Query:: Extracting "Cp" in solidThermophysicalModel

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 18, 2020, 12:28
Question Query:: Extracting "Cp" in solidThermophysicalModel
  #1
Senior Member
 
Kumaresh
Join Date: Oct 2016
Posts: 215
Rep Power: 6
Kummi is on a distinguished road
Send a message via Yahoo to Kummi
Hello all,
In my work, I need to plot Cp value. While referring the threads here, I came across the builtin package - "specificHeat.tar.gz". Credits and thanks to Mr. Bruno Santos.

how can see Cp values?
With this, I altered the thermophysical properties for my solid model as attached here. COMPILED well and GOOD in OpenFOAM - 2.1.1.
While running the case file, I came up with one technical error as follows:
Quote:
--> FOAM FATAL IO ERROR:
cannot find file

file: /home/kummijai/OpenFOAM/CASES/1/constant/solidThermophysicalProperties at line 0.


From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 73.

FOAM exiting
Apparently, the error is all about the absence of solidThermophysicalProperties file in constant folder. The image in the attachment clearly shows, solidThermophysicalProperties file is not kept under constant file directly. For pyrolysis modelling in OpenFOAM, the location of solidThermophysicalProperties file is set- as like,
Quote:
Case_File/constant/oven/solidThermophysicalProperties
Any ideas how to eliminate this technical error ?
Kindly suggest me.
Thank you
Attached Images
File Type: png location of folder.png (48.7 KB, 4 views)
Attached Files
File Type: gz plotCp_mine.tar.gz (1.4 KB, 1 views)
Kummi is offline   Reply With Quote

Old   March 19, 2020, 05:12
Default
  #2
Senior Member
 
Kumaresh
Join Date: Oct 2016
Posts: 215
Rep Power: 6
Kummi is on a distinguished road
Send a message via Yahoo to Kummi
Dear Foamers,
In this problem, there are two different regions named furnace and oven. (kind of multi-region solver)

How can I get the Cp value from my (solid)thermophysicalProperties in constant/region_folder/solidThermophysicalProperties. My solidThermophysicalProperties file looks like this:
Quote:
thermoType
solidMixtureThermo<reactingSolidMixture<constSolid Transport<constSolidRad<constSolidThermo<constRho> >>>>;

solidComponents
(
coal char
);
coalCoeffs
{
transport
{
K 0.035;
}
radiation
{
sigmaS 0.0;
kappa 0.0;
emissivity 0.0;
}
thermodynamics
{
Cp 1052.4;

Tref1 380;
Tref2 1800;
Hf -1.74e6;
}
density
{
rho 1329;
}
};
With this, the Cp value can be extracted using functionObjects as:
Quote:
heatCp
{
type cellSource;
functionObjectLibs ("libfieldFunctionObjects.so");
enabled true;
outputControl timeStep;
region oven;
outputInterval 1;
log true;
valueOutput false;
source all;
sourceName none;
operation volAverage;
fields
(
heatCp
);
}
How to access the above (solid)thermodynamics dictionary by eliminating above error, where Cp value can be extracted ??

Last edited by Kummi; March 21, 2020 at 08:15.
Kummi is offline   Reply With Quote

Reply

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
how to query node coordinates? phsieh2005 OpenFOAM Post-Processing 3 November 26, 2018 20:13
query for variable cell limit don6alfonso OpenFOAM Programming & Development 0 October 2, 2017 03:43
Working with Python: Query of through-plane flow of multiple clips in one plot PedroInvierno EnSight 8 April 10, 2017 09:23
Extracting data along polylines in transient solution blidblid CFX 1 July 27, 2016 02:05
Query for SU2 version through script/code neetin SU2 1 June 21, 2016 21:20


All times are GMT -4. The time now is 01:12.