CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

time varying velocity boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 23, 2017, 04:49
Default time varying velocity boundary condition
  #1
Senior Member
 
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16
gaza is on a distinguished road
Hi All,
I want to write a BC where in each iteration gradient of U is calculated and applied on the wall. From which type of BC should I start?
__________________
best regards
pblasiak
gaza is offline   Reply With Quote

Old   August 25, 2017, 06:55
Default
  #2
Member
 
hannes
Join Date: Mar 2013
Posts: 47
Rep Power: 13
hanness is on a distinguished road
Hy Przemek,

can't you just use "timeVaringMappedFixedValue"-BC? See for example the pitzDailyExptInlet-tutorial.

Regards
Hannes
hanness is offline   Reply With Quote

Old   August 28, 2017, 14:04
Default
  #3
Senior Member
 
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16
gaza is on a distinguished road
Hi Hannes,
Thank you very much for your respond.

timeVaringMappedFixedValue BC seems to be to complicated for me.
I am wondering if I can start from fixedValue BC which is basic one.
In my casy in each iteration I only need to calculate gradient of velocity and apply it on a wall. Do you think that this BC is appropriate?
__________________
best regards
pblasiak
gaza is offline   Reply With Quote

Old   August 29, 2017, 04:50
Default
  #4
Member
 
hannes
Join Date: Mar 2013
Posts: 47
Rep Power: 13
hanness is on a distinguished road
Hi Przemek,

maybe I don't quite get your intention. How do you want to calculate the gradient? Are you doing that with some other parameters? Then I would try to take one of the BCs from the src/finiteVolume/fields/fvPatchFields/derived/ folder and delete what you don't need (e.g. fixedShearStress). For me it is easier to adapt them instead of the higher level BCs.

Regards
Hannes
hanness is offline   Reply With Quote

Old   August 29, 2017, 13:48
Default
  #5
Senior Member
 
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16
gaza is on a distinguished road
Hi Hannes,
Basically, I have Ubis variable which is a function of some parameters. Ubis is a volVectorField and I calculate it in each iteration. I have to assign to the wall Ubis component which is parallel to the wall. So I have to assign a nonuniform field on the walls and I do not know which type of BC is good for a starting point.
__________________
best regards
pblasiak
gaza is offline   Reply With Quote

Reply


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
courant number increases to rather large values 6863523 OpenFOAM Running, Solving & CFD 22 July 6, 2023 00:48
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 06:28
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 02:27
Velocity profile boundary condition Tuca FLOW-3D 1 April 23, 2013 13:02
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58


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