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

[swak4Foam] funkyDoCalc mass flow over stl surface?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 28, 2014, 08:50
Default funkyDoCalc mass flow over stl surface?
  #1
Member
 
Lourenço SM
Join Date: Jul 2014
Location: Lisboa, Portugal
Posts: 41
Rep Power: 12
lourencosm is on a distinguished road
Hello,

Does anyone knows how to calculate the mass flow over a stl surface with funkyDoCalc?

After searching, I have tried this script but doesn't works:

Quote:
flowBeforeSet
{
valueType surface;
surfaceName planoCristaA;

surface {
type sampledTriSurfaceMesh;
surface planoCrista.stl;
source cells; // sample cells or boundaryFaces
interpolate false;
}

expression "alpha1*mag(U*Sf() )";
accumulations (
sum
);
}
The error:
Quote:
Time = 100
flowBeforeSet : --> FOAM Warning :
From function SampledSurface &SurfacesRepository::getSurface
in file repositories/SurfacesRepository.C at line 138
Already got a surface named planoCristaA. There is a specification for the surface here which is ignored. It is:

{
type sampledTriSurfaceMesh;
surface planoCrista.stl;
source cells;
interpolate false;
}

sum=128.178
Thank you,
Lourenço
lourencosm is offline   Reply With Quote

Reply

Tags
funkydocalc, mass flow, surface, swak4foam


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
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Target Mass Flow Rate Nitin FLUENT 9 June 17, 2017 11:30
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 02:27
Surface Integrals of Species Mass Flow to Wall Incorrect koad FLUENT 4 January 12, 2016 17:38
Discrete Phase & Mass Flow Rate MagnusZeus FLUENT 0 December 2, 2011 18:57


All times are GMT -4. The time now is 16:26.