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

droplet position

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2015, 23:06
Default droplet position
  #1
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 16
Elham is on a distinguished road
Hi,

I want to log x_diameter and y-Diameter of a falling droplet in air and use the following command
functions{
createInterface
{
type createSampledSurface;
outputControlMode timeStep;
outputInterval 1;
// updateMesh true;
surfaceName interface;
surface {
type isoSurface;
isoField alpha1;
isoValue 0.9;
interpolate true;
}
}

xDiameter
{
type swakExpression;
valueType surface;
surfaceName interface;
verbose true;
expression "pos().x";
accumulations (
min
max
);
verbose true;
}

yDiameter
{
type swakExpression;
valueType surface;
surfaceName interface;
verbose true;
expression "pos().y";
accumulations (
min
max
);
verbose true;
}
}

And it returnes

Expression downAverage : swak4Foam: Allocating new repository for sampledMeshes
swak4Foam: Allocating new repository for sampledGlobalVariables
#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) at ??:?
#4 void Foam::divide<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?
#5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam:perator/<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?
#6 parserField::FieldValueExpressionParser:arse() at ??:?
#7 Foam::FieldValueExpressionDriver:arseInternal(in t) at ??:?
#8 Foam::CommonValueExpressionDriver:arse(Foam::exp rString const&, Foam::word const&) at ??:?
#9 Foam::swakExpressionFunctionObject::write() at ??:?
#10 Foam::simpleFunctionObject::execute(bool) at ??:?
#11 Foam::functionObjectList::execute(bool) at ??:?
#12 Foam::Time::run() const at ??:?
#13
at ??:?
#14 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#15
at ??:?
Floating point exception (core dumped)

Any idea for solving the problem is appreciated.

Regards,

Elham
Elham is offline   Reply With Quote

Reply


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
Tracking droplet position Monika FLUENT 1 September 4, 2014 10:30
2D VOF Droplet evaporation model. Multi-component problem nb92 Fluent Multiphase 0 February 28, 2014 10:36
droplet falling - VOF bohis FLUENT 1 July 10, 2013 04:28
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29
Combustion Convergence problems Art Stretton Phoenics 5 April 2, 2002 05:59


All times are GMT -4. The time now is 06:14.