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

extracting outlet velocity profile from one case to another case's inlet

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 6, 2013, 19:25
Default extracting outlet velocity profile from one case to another case's inlet
  #1
New Member
 
Join Date: Feb 2013
Posts: 1
Rep Power: 0
tonggysun is on a distinguished road
Hi,

I'm very new to openFoam. Currently I'm working on an interFoam case where there is a rectangular vent with air inlet on one side and pressure outlet on the other. Somewhere along the vent, fluid enters at the bottom of the vent. Let's call this the vent case.

To examine the boundary condition of the fluid inlet and save iteration time, I have also made an icoFoam case which models a chamber with curved exit nozzle where there is fluid inlet at the bottom of chamber and a pressure outlet at the end of the nozzle (which corresponds to the fluid inlet of the vent case). Let's call this the liquidSupply case.

I have successfully modelled the liquidSupply case and with the 'sample' utility, I have obtained the U vectors (velocity profile) of the exiting fluid at the pressure outlet.

Question: How do I extract this velocity profile and make it the boundary condition for the fluid inlet of the vent case. Both have inlet/outlet have the exact same patch geometry.

ps. I'm also new to coding so please give as elaborate advices as possible. Thanks!
tonggysun is offline   Reply With Quote

Old   September 12, 2013, 05:21
Default
  #2
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,096
Rep Power: 16
RodriguezFatz will become famous soon enough
I am interested in that, too. Anyone can help?
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   September 13, 2013, 04:19
Default
  #3
Senior Member
 
cfdonline2mohsen's Avatar
 
Mohsen KiaMansouri
Join Date: Jan 2010
Location: CFD Lab
Posts: 117
Rep Power: 7
cfdonline2mohsen is on a distinguished road
Dear tonggysun
Have a look at the following post#2
setting the correct format of nonuniform List<vector> for inlet in 0 Folder
__________________
If you have an apple and I have an apple and we exchange these apples then you and I will still each have one apple. But if you have an idea and I have an idea and we exchange these ideas, then each of us will have two ideas.
cfdonline2mohsen is offline   Reply With Quote

Reply

Thread Tools
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
UDF inlet velocity profile mismatch with Fluent ChristineL Fluent UDF and Scheme Programming 10 June 24, 2013 06:10
Inlet Velocity Profile BC - Floating Point exception during solution initialization Janshi STAR-CCM+ 4 March 14, 2012 11:21
commit velocity outlet to velocity inlet chelvistero OpenFOAM 0 March 27, 2010 04:46
Inlet Velocity in CFX aeroman CFX 12 August 6, 2009 18:42
Annular inlet profile of experimental velocity fluid FLUENT 0 December 7, 2007 11:05


All times are GMT -4. The time now is 04:19.