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

viscoelasticFluidFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By nimasam
  • 1 Post By ata
  • 1 Post By nimasam

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2011, 13:54
Default viscoelasticFluidFoam
  #1
New Member
 
usefkeyghobadi's Avatar
 
Youse Keyghobadi
Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 14
usefkeyghobadi is on a distinguished road
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
usefkeyghobadi is offline   Reply With Quote

Old   October 15, 2011, 15:33
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
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.
nimasam is offline   Reply With Quote

Old   October 15, 2011, 17:10
Default
  #3
New Member
 
usefkeyghobadi's Avatar
 
Youse Keyghobadi
Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 14
usefkeyghobadi is on a distinguished road
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
usefkeyghobadi is offline   Reply With Quote

Old   October 16, 2011, 06:48
Default
  #4
ata
Senior Member
 
ata's Avatar
 
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 17
ata is on a distinguished road
Hi Usef
What kind of BC is this?
usefkeyghobadi likes this.
ata is offline   Reply With Quote

Old   October 16, 2011, 17:01
Default Pressure bc's
  #5
New Member
 
usefkeyghobadi's Avatar
 
Youse Keyghobadi
Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 14
usefkeyghobadi is on a distinguished road
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;
    
}

}
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
usefkeyghobadi is offline   Reply With Quote

Old   October 16, 2011, 17:12
Default
  #6
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
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.
nimasam is offline   Reply With Quote

Old   October 17, 2011, 02:48
Default
  #7
New Member
 
usefkeyghobadi's Avatar
 
Youse Keyghobadi
Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 14
usefkeyghobadi is on a distinguished road
Quote:
Originally Posted by nimasam View Post
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
usefkeyghobadi is offline   Reply With Quote

Old   October 17, 2011, 05:46
Default
  #8
ata
Senior Member
 
ata's Avatar
 
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 17
ata is on a distinguished road
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
ata is offline   Reply With Quote

Old   October 17, 2011, 11:39
Default
  #9
New Member
 
usefkeyghobadi's Avatar
 
Youse Keyghobadi
Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 14
usefkeyghobadi is on a distinguished road
Hi Dear's
My BS'c In gambit:
Inlet
Outlet
Up
Bottom

i think problem is another...
usefkeyghobadi is offline   Reply With Quote

Old   October 17, 2011, 11:42
Default
  #10
New Member
 
usefkeyghobadi's Avatar
 
Youse Keyghobadi
Join Date: Jul 2011
Location: Shahrood-Iran
Posts: 23
Rep Power: 14
usefkeyghobadi is on a distinguished road
Hi Dear's
My BS'c In gambit:
Inlet
Outlet
Up
Bottom

i think problem is another...
usefkeyghobadi 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



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