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, 15:17
Default vorticity - mulitphase flow
  #1
Senior Member
 
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5
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, 09:28
Default
  #2
Member
 
MNM
Join Date: Aug 2017
Posts: 69
Rep Power: 9
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 07:40
flow over a cylinder urgent! kevin FLUENT 8 August 11, 2015 14:00
Trying to understand how the Vorticity vector is related to the flow djpailo Main CFD Forum 3 November 19, 2014 05:26
Can 'shock waves' occur in viscous fluid flows? diaw Main CFD Forum 104 February 16, 2006 06:44
UDF for extracting vorticity of flow Endee FLUENT 0 September 14, 2005 14:48


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