# viscoelasticFluidFoam

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

 October 15, 2011, 13:54 viscoelasticFluidFoam #1 New Member     Youse Keyghobadi Join Date: Jul 2011 Location: Shahrood-Iran Posts: 23 Rep Power: 5 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, 15:33 #2 Senior Member   Nima Sam Join Date: Sep 2009 Location: Tehran, Iran Posts: 1,123 Blog Entries: 1 Rep Power: 14 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); 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. usually outlet pressure is known and its ambient pressure, so it is fixed Code: type fixedValue; value uniform 0; Thanks Lot Engineer's usefkeyghobadi likes this.

 October 15, 2011, 17:10 #3 New Member     Youse Keyghobadi Join Date: Jul 2011 Location: Shahrood-Iran Posts: 23 Rep Power: 5 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, 06:48 #4 Senior Member     ata kamyabi Join Date: Aug 2009 Location: Kerman Posts: 322 Rep Power: 8 Hi Usef What kind of BC is this? usefkeyghobadi likes this.

October 16, 2011, 17:01
Pressure bc's
#5
New Member

Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 5
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

{

}

Up

{

}

Outlet

{

type            fixedValue;

Value           uniform 0;

}

Bottom

{

}

frontAndBack

{

type            empty;

}

}
However
The BC'S for pressure is Right??
but in solving time get ERROR that Below:
Quote:
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *// Create time Create mesh for time = 0 Reading field p keyword inlet is undefined in dictionary "/home/joseph/OpenFOAM/joseph-1.5-dev/run/PTT-Linear/0/p::boundaryField" file: /home/joseph/OpenFOAM/joseph-1.5-dev/run/PTT-Linear/0/p::boundaryField from line 33 to line 54. From function dictionary::subDict(const word& keyword) const in file db/dictionary/dictionary.C at line 271. FOAM exiting
Where is the problem??
Thanks Lot Foamer's

 October 16, 2011, 17:12 #6 Senior Member   Nima Sam Join Date: Sep 2009 Location: Tehran, Iran Posts: 1,123 Blog Entries: 1 Rep Power: 14 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) usefkeyghobadi likes this.

October 17, 2011, 02:48
#7
New Member

Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 5
Quote:
 Originally Posted by nimasam 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)
Hi Nima
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, 05:46 #8 Senior Member     ata kamyabi Join Date: Aug 2009 Location: Kerman Posts: 322 Rep Power: 8 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, 11:39 #9 New Member     Youse Keyghobadi Join Date: Jul 2011 Location: Shahrood-Iran Posts: 23 Rep Power: 5 Hi Dear's My BS'c In gambit: Inlet Outlet Up Bottom i think problem is another...

 October 17, 2011, 11:42 #10 New Member     Youse Keyghobadi Join Date: Jul 2011 Location: Shahrood-Iran Posts: 23 Rep Power: 5 Hi Dear's My BS'c In gambit: Inlet Outlet Up Bottom i think problem is another...

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

All times are GMT -4. The time now is 18:00.