CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Obtain BC value from dict

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

LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2017, 06:42
Default Obtain BC value from dict
Victor Koppejan
Join Date: May 2015
Posts: 40
Rep Power: 8
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?


vkoppejan is offline   Reply With Quote


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

All times are GMT -4. The time now is 22:09.