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

trouble with `pressureDirectedInletVelocity'

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 6, 2009, 03:38
Question trouble with `pressureDirectedInletVelocity'
  #1
New Member
 
Yohey Ishizu
Join Date: May 2009
Location: Tokyo, Japan
Posts: 6
Rep Power: 16
yohey is on a distinguished road
Hi.

I'm using OpenFOAM-1.6.x on Ubuntu 8.04 and in trouble with `pressureDirectedInletVelocity' boundary.


I'm working on the attached case. This case contains direction-fixed boundary as
inletDirection uniform (1 1 0);
But, with this condition, the velocity in the mesh next to boundary is dobuled.
This is because of `operator=' in `pressureDirectedInletVelocityFvPatchVectorField.C '.
fvPatchField<vector>::operator=(inletDir_*(inletDi r_ & pvf));
So, I modified the `inletDirection' as (1/sqrt(2) 1/sqrt(2) 0).
inletDirection uniform (0.707107 0.707107 0);
This worked correctly.


(1) Next, I tried with more precise value.
inletDirection uniform (0.70710678 0.70710678 0);
But, calculation fails with this boundary.


(2) Actually this problem is derived from `pressureDirectedInletVelocityFvPatchVectorField.C '. So, I modified such sentence in this file as
fvPatchField<vector>::operator=(inletDir_*(inletDi r_ & pvf)/magSqr(inletDir_));
This modification also crashes calculation.


I can't understand these behavior of (1) and (2).

Would anyone help me to find the cause of these problems?


Sincerely.

Yohey
Attached Files
File Type: gz inletTest.tar.gz (2.0 KB, 74 views)
yohey is offline   Reply With Quote

 

Tags
boundary condition, inlet


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[GAMBIT] Trouble meshing complex VOF geometry RPJones ANSYS Meshing & Geometry 2 February 14, 2011 18:54
Finned Pipe Trouble fabioxyz CFX 8 August 31, 2009 02:20
Trouble in Gambit Tom FLUENT 8 July 23, 2002 09:17
equivalencing trouble Steve Collie CFX 6 August 22, 2001 18:26
trouble with fluxsum Jordi Siemens 2 September 29, 2000 03:57


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