|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Youse Keyghobadi
Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 16 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,269
Blog Entries: 1
Rep Power: 26 ![]() |
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 |
|
|
|
|
|
|
|
|
#3 |
|
New Member
Youse Keyghobadi
Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 16 ![]() |
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 |
|
|
|
|
|
|
|
|
#4 |
|
Senior Member
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 19 ![]() |
Hi Usef
What kind of BC is this? |
|
|
|
|
|
|
|
|
#5 | |
|
New Member
Youse Keyghobadi
Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 16 ![]() |
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 |
||
|
|
|
||
|
|
|
#6 |
|
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,269
Blog Entries: 1
Rep Power: 26 ![]() |
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) |
|
|
|
|
|
|
|
|
#7 | |
|
New Member
Youse Keyghobadi
Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 16 ![]() |
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 |
||
|
|
|
||
|
|
|
#8 |
|
Senior Member
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 19 ![]() |
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 |
|
|
|
|
|
|
|
|
#9 |
|
New Member
Youse Keyghobadi
Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 16 ![]() |
Hi Dear's
My BS'c In gambit: Inlet Outlet Up Bottom i think problem is another... |
|
|
|
|
|
|
|
|
#10 |
|
New Member
Youse Keyghobadi
Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 16 ![]() |
Hi Dear's
My BS'c In gambit: Inlet Outlet Up Bottom i think problem is another... |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|