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

Probes - Functionobjects- surfaceScalarField

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 30, 2019, 11:40
Default Probes - Functionobjects- surfaceScalarField
  #1
Senior Member
 
Kumaresh
Join Date: Oct 2016
Posts: 248
Rep Power: 7
Kummi is on a distinguished road
Send a message via Yahoo to Kummi
Hello Foamers,
My question might be quite basic. I dont find any appropriate thread or may be I couldn't figured it out properly about this topic.

In my case (OF211), volScalarFields such as Temperature, Ycoal, Ychar, K, rho have been calculated using function objects based on probes (as shown below).

Quote:
functions
{
oven_hope
{
type probes;
functionObjectLibs ("libsampling.so");
outputControl timeStep;
outputInterval 50;
region oven;
probeLocations
(
(0.1 1.0 0.05) // at wall
(0.15625 1.0 0.05) // 1/4 distance
(0.2125 1.0 0.05) //1/2 distance
(0.26875 1.0 0.05) // 3/4 distance
(0.325 1.0 0.05) // centre
);

fields
(T Ycoal Ychar phiGas K rho);
}
};
but the surfaceScalarField "phiGas" couldn't be predicted based on probes.

Kindly someone share ideas about it please.
Thank you
Kummi is offline   Reply With Quote

Old   December 30, 2019, 17:27
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 794
Rep Power: 8
HPE is on a distinguished road
What do you actually mean by 'couldn't be predicted based on probes.'? Supposedly wrong result? Error?
HPE is offline   Reply With Quote

Old   December 30, 2019, 18:56
Default
  #3
Senior Member
 
Kumaresh
Join Date: Oct 2016
Posts: 248
Rep Power: 7
Kummi is on a distinguished road
Send a message via Yahoo to Kummi
Dear HPE, Thank you for your response.
"phiGas" values at all probes ends up with 0 (no changes)
Kummi is offline   Reply With Quote

Old   December 31, 2019, 01:19
Default
  #4
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 794
Rep Power: 8
HPE is on a distinguished road
Two quick things out of my head:
- probes return only cell values without interpolation, so the probes at four probe locations above should return the same value if they are inside the same cell.
- phiGas results might be the boundary values, which might be zero at the wall.
HPE is offline   Reply With Quote

Old   December 31, 2019, 02:09
Default
  #5
Senior Member
 
Kumaresh
Join Date: Oct 2016
Posts: 248
Rep Power: 7
Kummi is on a distinguished road
Send a message via Yahoo to Kummi
Hello HPE,
Yes, probes return cell values, at 5 probe locations mentioned above with 5 different positions along X, I got graphs as shown in the attachment.
~ And about "phiGas" - I'm confused. This is how, phiGas is declared:
https://github.com/OpenFOAM/OpenFOAM...reactingOneDim

Quote:
//- Total gas mass flux released [kg/m2/s]
surfaceScalarField phiGas_;


phiGas_ == dimensionedScalar("zero", phiGas_.dimensions(), 0.0);


phiGas_
(
IOobject
(
"phiGas",
time().timeName(),
regionMesh(),
IOobject::NO_READ,
IOobject::AUTO_WRITE
),
regionMesh(),
dimensionedScalar("zero", dimMass/dimTime, 0.0)
),
Kindly share if you have any ideas - as how to predict phiGas.
Thank you HPE for your valuable time ^^
Attached Images
File Type: png Heat lost from system.png (93.4 KB, 5 views)
File Type: png Heat added to system.png (70.1 KB, 5 views)
File Type: png conductivity.png (63.0 KB, 4 views)
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
Upwind Gradient Not Recognizing surfaceScalarField MajidHagh OpenFOAM 2 October 30, 2019 11:58
Error in probes functions!!! Jingxue Wang OpenFOAM Running, Solving & CFD 9 November 25, 2017 09:21
probes function not working in Openfoam 2.1.1 nandiganavishal OpenFOAM 7 July 26, 2012 11:06
OpenFOAM v1.6 & OpenMPI & functionObjects bruce OpenFOAM Bugs 7 December 16, 2011 14:37
OpenFOAM v1.6 & OpenMPI & functionObjects bruce OpenFOAM Running, Solving & CFD 1 August 7, 2009 13:15


All times are GMT -4. The time now is 20:53.