|
[Sponsors] |
October 15, 2011, 14:54 |
viscoelasticFluidFoam
|
#1 |
New Member
Youse Keyghobadi
Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 15 |
Hi Foamer's
i have some question about viscoelasticFluidFoam solver 1-how i can set velocity for wall in this solver(similar to cavity solver) u=U 2-how i can set BC's for outlet like Pressure outlet in Fluent ,i cant use the zero Gradient bc's for the outlet. Thanks Lot Engineer's |
|
October 15, 2011, 16:33 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
Hi Foamer's
i have some question about viscoelasticFluidFoam solver 1-how i can set velocity for wall in this solver(similar to cavity solver) u=U as you said similar to cavity case Code:
type fixedValue; value uniform (1 0 0); usually outlet pressure is known and its ambient pressure, so it is fixed Code:
type fixedValue; value uniform 0; Thanks Lot Engineer's |
|
October 15, 2011, 18:10 |
|
#3 |
New Member
Youse Keyghobadi
Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 15 |
Thanks Dear Nima
If I want set the 2 BC's For 1 wall(for example in 2D , Uper Wall) such as: 1) type fixedValue; value uniform (1 0 0); and ∂V/∂y=0 How I can?? I want solve the B.Layer Theory in Viscoelastic Fluid's Thanks |
|
October 16, 2011, 07:48 |
|
#4 |
Senior Member
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 18 |
Hi Usef
What kind of BC is this? |
|
October 16, 2011, 18:01 |
Pressure bc's
|
#5 | |
New Member
Youse Keyghobadi
Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 15 |
Hi
My Geometry is 4*2 Square Uper Wall: velocity u=U Bottom Wall: Fixed Wall Left Wall: Velocity Inlet Right Wall:Pressure Outlet In OpenFOAM BC'S Pressure BC's: HTML Code:
dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { Inlet { type zeroGradient; } Up { type zeroGradient; } Outlet { type fixedValue; Value uniform 0; } Bottom { type zeroGradient; } frontAndBack { type empty; } } The BC'S for pressure is Right?? but in solving time get ERROR that Below: Quote:
Thanks Lot Foamer's |
||
October 16, 2011, 18:12 |
|
#6 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
dear usef
be more careful before you send each ur problem and read the error line! it will save ur time and other user times its obvious ur boundary inlet is undefined u use Inlet instead of inlet! (attention to I) |
|
October 17, 2011, 03:48 |
|
#7 | |
New Member
Youse Keyghobadi
Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 15 |
Quote:
i Defined in gambit Inlet(I) and over and over i simulated another solver with this the problem is another place in code. thank you |
||
October 17, 2011, 06:46 |
|
#8 |
Senior Member
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 18 |
Hi dear Usef
According to the error you have got it seems that Nima is right. I think you do not need two BC for velocity on one boundary. I think you can set the normal gradient of stress equal to zero on that boundary. Good luck Ata |
|
October 17, 2011, 12:39 |
|
#9 |
New Member
Youse Keyghobadi
Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 15 |
Hi Dear's
My BS'c In gambit: Inlet Outlet Up Bottom i think problem is another... |
|
October 17, 2011, 12:42 |
|
#10 |
New Member
Youse Keyghobadi
Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 15 |
Hi Dear's
My BS'c In gambit: Inlet Outlet Up Bottom i think problem is another... |
|
|
|