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

Obtain BC value from dict

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 2, 2017, 07:42
Default Obtain BC value from dict
  #1
Member
 
Victor Koppejan
Join Date: May 2015
Posts: 32
Rep Power: 4
vkoppejan is on a distinguished road
Hi Everyone,

I have a uniformFixedValue BC for velocity of which I want to get the value in my OF231 code. I want to use this to set the velocity field for the initial time.

I know there's a lot of ways to do this (using funky SetFields etc) but I have my code coupled to a DEM solver, which passes particle positions to an OF cloud object and creates the volume fraction from there.

Using this vol frac I want to adjust the IC for the fluid velocity before the time loop starts.

Any thoughts on a smart way to do this?

Thanks,

Victor
vkoppejan 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
Obtain a cellSet according to sHM refinement level gianlu.it OpenFOAM Native Meshers: snappyHexMesh and Others 0 April 23, 2016 17:32
[How to obtain supersonic flow inside a supersonic wind tunnel ?] yx213 CD-adapco 1 September 17, 2014 13:52
reRead Dict after changed wernsen OpenFOAM Programming & Development 10 November 19, 2012 07:37
Can we obtain PHASE from the solution of an d.e. ? Demidov Main CFD Forum 0 March 5, 2005 04:52
how to obtain a profile ... olivier FLUENT 2 December 13, 2001 07:21


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