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

weightedAreaAverage for sampledSurface

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2017, 04:42
Default weightedAreaAverage for sampledSurface
  #1
New Member
 
Join Date: Jul 2017
Posts: 1
Rep Power: 0
Flou is on a distinguished road
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
Attached Files
File Type: txt cfd_post.txt (836 Bytes, 52 views)
Flou is offline   Reply With Quote

Old   August 27, 2018, 12:26
Default Solution???
  #2
New Member
 
Athanasios Niotis
Join Date: Aug 2018
Posts: 12
Rep Power: 8
thanosniotis is on a distinguished road
Hello! Did you find solution for this??
thanosniotis is offline   Reply With Quote

Reply

Tags
cutting plane, sampledsurface, surfacefieldvalue, weighted average


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



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