CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] How can I evaluate alphas in a arbitrary faces?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 17, 2019, 20:55
Default How can I evaluate alphas in a arbitrary faces?
  #1
Member
 
Dokeun, Hwang
Join Date: Apr 2010
Location: Korea, Republic of
Posts: 84
Rep Power: 11
dokeun is on a distinguished road
Dear all
I computed multiphase problem which simulates mixing of water and oil using OpenFOAM multiphaseInterFoam. Id like to evaluate mixing condition on the arbitrary surface consisted with small faces.
At first, I defined a surface(sphere) which has a certain distance from the inlet. But, then, I have no idea how to cut this surface with small pieces(it would be curved faces) and evaluate the mixing condition on each face in paraview.
Please give any comment for this poor newbie.
Thank you in advance
dokeun is offline   Reply With Quote

Old   May 21, 2019, 04:04
Default
  #2
Member
 
Dokeun, Hwang
Join Date: Apr 2010
Location: Korea, Republic of
Posts: 84
Rep Power: 11
dokeun is on a distinguished road
I think I found the solution.

At first, I got a cell areas from an arbitrary surface I defined using CellSize filter.

The problem remain is to get normal vector for each cell face in order to calculate mass flow rate for each cell face.

\dot{m}_{ij} = \rho_{i} \alpha_{ij} A_{j} \vec{V}_i \cdot \hat{n}_j

In this equation, I need to evaluate \hat{n}_j for each cell j.

This normal can be obtained from GenerateSurfaceNormals with the option ‘Compute Cell Normals’.

Then I can get Normals.

Source From: https://public.kitware.com/pipermail...il/028096.html
Attached Images
File Type: jpg 63CD83F4-576A-445C-B50F-4101BCF31875.jpg (146.0 KB, 2 views)
dokeun is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 83 September 7, 2018 11:16
[snappyHexMesh] sHM layer process keeps getting killed MBttR OpenFOAM Meshing & Mesh Conversion 4 August 15, 2016 03:21
[OpenFOAM.org] OF2.3.1 + OS13.2 - Trying to use the dummy Pstream library aylalisa OpenFOAM Installation 23 June 15, 2015 14:49
foam-extend_3.1 decompose and pyfoam warning shipman OpenFOAM 3 July 24, 2014 08:14
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11


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