|
[Sponsors] |
August 23, 2017, 04:49 |
time varying velocity boundary condition
|
#1 |
Senior Member
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16 |
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 |
|
August 25, 2017, 06:55 |
|
#2 |
Member
hannes
Join Date: Mar 2013
Posts: 47
Rep Power: 13 |
Hy Przemek,
can't you just use "timeVaringMappedFixedValue"-BC? See for example the pitzDailyExptInlet-tutorial. Regards Hannes |
|
August 28, 2017, 14:04 |
|
#3 |
Senior Member
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16 |
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 |
|
August 29, 2017, 04:50 |
|
#4 |
Member
hannes
Join Date: Mar 2013
Posts: 47
Rep Power: 13 |
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 |
|
August 29, 2017, 13:48 |
|
#5 |
Senior Member
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16 |
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 |
|
|
|
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 |