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

Force library

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 22, 2013, 10:05
Default Force library
  #1
Member
 
Pengchuan Wang
Join Date: Nov 2012
Location: Michigan USA
Posts: 58
Rep Power: 13
pechwang is on a distinguished road
Hello everyone,

I'm new to OpenFOAM. I played with icoFoam and simpleFoam for a few months. Now I want to move to multi-phase flow, which is mixture of air and water, so I choose interFoam. Then comes the question.
Originally I use the force library to calculate the torque and use patchIntegrate to calculate the volume flow rate in icoFoam and simpleFoam. And the viscosity of the single-phase flow is defined in transportProperties file. But now, it becomes multi-phase flow and the viscosity is a function of the phae fraction of the mixture, and the phase fraction is different everywhere. Then how can I calculate the "local viscosity" to calculate the force and torque on the wall? And how can I calculate the "pure" water flow rate at the boundaries.

Thanks,
Pengchuan
pechwang is offline   Reply With Quote

Old   May 22, 2013, 10:10
Default
  #2
Senior Member
 
Join Date: Dec 2011
Posts: 111
Rep Power: 19
haakon will become famous soon enough
When it comes to calculating what you call the "pure water flow" (or the volume flux of one phase only) I think you should study these tutorials:

https://www.hpc.ntnu.no/display/hpc/...llway+Tutorial
https://www.hpc.ntnu.no/display/hpc/...AM+-+swak4Foam

They describe in detail how to monitor flow of one phase, either in the domain or at a boundary.
haakon is offline   Reply With Quote

Old   May 22, 2013, 10:20
Default
  #3
Member
 
Pengchuan Wang
Join Date: Nov 2012
Location: Michigan USA
Posts: 58
Rep Power: 13
pechwang is on a distinguished road
Hi Hakon,

Thank you for your quick reply, I'll work on that. Thanks again. Then do you have any idea on how to calculate the torque?

Quote:
Originally Posted by haakon View Post
When it comes to calculating what you call the "pure water flow" (or the volume flux of one phase only) I think you should study these tutorials:

https://www.hpc.ntnu.no/display/hpc/...llway+Tutorial
https://www.hpc.ntnu.no/display/hpc/...AM+-+swak4Foam

They describe in detail how to monitor flow of one phase, either in the domain or at a boundary.
pechwang is offline   Reply With Quote

Old   May 22, 2013, 10:28
Default
  #4
Senior Member
 
Join Date: Dec 2011
Posts: 111
Rep Power: 19
haakon will become famous soon enough
No, not in multiphase flows at least. I know that in regular, single-phase flows the torque is calculated by the forces and forceCoeffs function objects. You specify the axis around which to calculate the torque with the CofR vector. But again, I am very uncertain on how to do this for multiphase flows.
haakon is offline   Reply With Quote

Old   December 24, 2015, 07:33
Default
  #5
New Member
 
Hans Barósz
Join Date: May 2014
Posts: 22
Rep Power: 11
HanSolo123 is on a distinguished road
Hi Pengchuan,

have you made any progress in this problem? I also deal with the problem how to calculate the torque of a patch when there is a multiphase flow and the properties like density and viscosity depend on the alpha value.

Greetings.
HanSolo123 is offline   Reply With Quote

Reply

Tags
force library, patchintegrate, torque

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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ActuatorDiskExplicitForce in OF2.1. Help be_inspired OpenFOAM Programming & Development 10 September 14, 2018 12:12
New sixDoFRigidBody BC working with laplaceFaceDecomposition Ya_Squall2010 OpenFOAM Running, Solving & CFD 13 April 17, 2013 03:04
Force can not converge colopolo CFX 13 October 4, 2011 23:03
OpenFOAM141dev linking error on IBM AIX 52 matthias OpenFOAM Installation 24 April 28, 2008 16:49
DEFINE_CG_MOTION and pressure force Teo Fumagalli FLUENT 0 April 11, 2008 11:25


All times are GMT -4. The time now is 05:23.