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

vorticity - mulitphase flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 19, 2022, 14:17
Default vorticity - mulitphase flow
  #1
Senior Member
 
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 4
qutadah.r is on a distinguished road
Hello everyone,


I am trying to calculate the vorticity for a two-phase flow, however the post processing function is designed for single phase, can someone advise how I can use it for a two phase flow?


postProcess -func vorticity


I get the error cannot find U fields, which is true because i have U.air and U.water



Thanks!
qutadah.r is offline   Reply With Quote

Old   March 24, 2022, 08:28
Default
  #2
Member
 
MNM
Join Date: Aug 2017
Posts: 67
Rep Power: 8
SHUBHAM9595 is on a distinguished road
Haven't tested it though but something like this in your controlDict should work


Code:
vorticity_AIR
 {
 type vorticity;
 libs ("libfieldFunctionObjects.so");
 writeControl timeStep;
 writeInterval 100;
 U U.air;
 }


vorticity_Water
 {
 type vorticity;
 libs ("libfieldFunctionObjects.so");
 writeControl timeStep;
 writeInterval 100;
 U U.water;
 }
SHUBHAM9595 is offline   Reply With Quote

Reply

Tags
openf, postprocessing, vorticity


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
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 06:40
flow over a cylinder urgent! kevin FLUENT 8 August 11, 2015 13:00
Trying to understand how the Vorticity vector is related to the flow djpailo Main CFD Forum 3 November 19, 2014 04:26
Can 'shock waves' occur in viscous fluid flows? diaw Main CFD Forum 104 February 16, 2006 05:44
UDF for extracting vorticity of flow Endee FLUENT 0 September 14, 2005 13:48


All times are GMT -4. The time now is 21:51.