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

About mass flow at nozzle throat

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 13, 2018, 06:42
Default About mass flow at nozzle throat
  #1
New Member
 
Join Date: Dec 2017
Posts: 12
Rep Power: 2
chencw is on a distinguished road
Deal all,

I'm really sorry about asking same question.


Thanks,
chencw

Last edited by chencw; March 13, 2018 at 10:02. Reason: delete same question
chencw is offline   Reply With Quote

Old   March 13, 2018, 09:28
Default
  #2
Member
 
Hosein Heidarifatasmi
Join Date: Nov 2011
Location: Germany
Posts: 45
Rep Power: 8
einstein_zee is on a distinguished road
Quote:
Originally Posted by chencw View Post
Deal all,

I try to get mass flow at nozzle throat by combining topoSetDict and functionObjects.

My topoSetDict code is:

actions
(
{
name throatFace;
type faceSet;
action new;
source boxToFace;
sourceInfo
{
box (-0.0001 0.245 -1)(0.0001 0.245 1);
}
}


{
name throatFace;
type faceZoneSet;
action new;
source setToFaceZone;
sourceInfo
{
faceSet throatFace;
}
}

My code about mass flux at throat in controlDict is:

functions
{

inletFlux
{
type surfaceFieldValue;
functionObjectLibs ("libfieldFunctionObjects.so");
outputControl timeStep;
log true;
// Output field values as well
valueOutput false;
source faceZone;
sourceName throatFace;
operation sum;

fields
(
phi
);
}


When I ran the solve, a error occur and I have no idea on it.
The error is:
[4] --> FOAM FATAL IO ERROR:
[4] keyword writeFields is undefined in dictionary "IOstream.functions.throatFlux"
[4]
[4] file: IOstream.functions.throatFlux from line 0 to line 0.
[4]
[4] From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
[4] in file [5]
[5]
[5] --> FOAM FATAL IO ERROR:
[5] keyword writeFields is undefined in dictionary "IOstream.functions.throatFlux"
[5]
[5] file: IOstream.functions.throatFlux from line 0 to line 0.
[5]
[5] From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
[5] in file db/dictionary/dictionary.C at line 551.

Could anyone give me some advice?

Thanks,
chencw
Hi there,

Please do not send the same question in different threads. You've already created one thread at "https://www.cfd-online.com/Forums/openfoam-post-processing/199687-how-calculate-mass-flow-average-pressure-random-surface.html" basically asking the same thing.
einstein_zee is offline   Reply With Quote

Old   March 13, 2018, 10:01
Default
  #3
New Member
 
Join Date: Dec 2017
Posts: 12
Rep Power: 2
chencw is on a distinguished road
Quote:
Originally Posted by einstein_zee View Post
Hi there,

Please do not send the same question in different threads. You've already created one thread at "https://www.cfd-online.com/Forums/openfoam-post-processing/199687-how-calculate-mass-flow-average-pressure-random-surface.html" basically asking the same thing.
Hi all,

I'm really sorry to bother everyone with same question.

I will edit this.

Thanks your advice.

chencw
chencw is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mass flow rate in cd nozzle GeonwooKim Main CFD Forum 2 January 7, 2016 05:13
mass flow rate... sanjar OpenFOAM Running, Solving & CFD 1 December 2, 2013 00:09
Different flow patterns in CFX and Fluent avi@lpsc FLUENT 4 April 8, 2012 06:12
Target mass flow rate Saturn FLUENT 0 December 10, 2004 04:18
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 21:31


All times are GMT -4. The time now is 02:25.