|
[Sponsors] |
October 25, 2017, 04:42 |
weightedAreaAverage for sampledSurface
|
#1 |
New Member
Join Date: Jul 2017
Posts: 1
Rep Power: 0 |
Hi !
I'm modelling a two-phase flow and I want to compute the velocity field x component average over a specified surface (sampledSurface) but keeping only the liquid part for the calculation (alpha.water = 1) My problem is when I try to run the operation weightedAreaAverage on a sampledSurface region type I get the error : --> FOAM FATAL IO ERROR: Cannot use weightField for sampledSurface My code is working well when the operation is areaAverage (so when the weightedfield is not taken into account). Here is my function Thanks by advance Flora |
|
August 27, 2018, 12:26 |
Solution???
|
#2 |
New Member
Athanasios Niotis
Join Date: Aug 2018
Posts: 12
Rep Power: 8 |
Hello! Did you find solution for this??
|
|
Tags |
cutting plane, sampledsurface, surfacefieldvalue, weighted average |
|
|