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

How to usefvMotionSolverpointPatchFieldsderived

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 20, 2007, 11:10
Default Hi community.. Can some bod
  #1
Senior Member
 
Join Date: Mar 2009
Posts: 248
Rep Power: 18
jaswi is on a distinguished road
Hi community..

Can some body please explain how one can use the point patch fields given in :
/home/singh/OpenFOAM/OpenFOAM-1.4.1/src/fvMotionSolver/pointPatchFields/derived

There are following options available:
--> angularOscillatingDisplacement
--> angularOscillatingVelocity
--> oscillatingDisplacement
--> oscillatingVelocity

As far as my understanding goes they have to do something with the meshMotion :-).

The next doubt i have is this:

the velocityLaplacian solver requires pointMotionU and cellMotionU. can one use the above pointFields to specify the pointMotionU and cellMotionU like this:
FoamFile
{
version 2.0;
format ascii;

root "interFoam";
case "meshMotion";
instance "0";
local "";

class volVectorField;
object cellMotionU;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
cube
{
type oscillatingDisplacement;
amplitude (0.5 0 0);
omega 0.25;
value uniform (0 0 0);

}
}
FoamFile
{
version 2.0;
format ascii;

root "interFoam";
case "meshMotion";
instance "0";
local "";

class pointVectorField;
object pointMotionU;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
cube
{
type oscillatingDisplacement;
amplitude (0.5 0 0);
omega 0.25;
value uniform (0 0 0);
}
}

If this is completely wrong then please advice how one could specify the pointMotionU and cellMotionU ,
which is required to use the velocityLaplacian solver

With the above settings i get the following error
--> FOAM FATAL ERROR :
gradientInternalCoeffs cannot be called for a defaultFvPatchField (actual type oscillatingDisplacement)
on patch cube of field U in file "interFoam/oscillatoryMotion/0/U"
You are probably trying to solve for a field with a default boundary condition.

From function defaultFvPatchField<type>::gradientInternalCoeffs( ) const
in file fields/fvPatchFields/basic/default/defaultFvPatchField.C at line 694.



Thanks alot
Jaswinder
jaswi is offline   Reply With Quote

Old   October 26, 2007, 05:30
Default Hi, Jaswinder. I have met
  #2
New Member
 
zhangyao
Join Date: Mar 2009
Posts: 1
Rep Power: 0
yoyo is on a distinguished road
Hi, Jaswinder.
I have met the same problem with you . Have you solved the problem???
yoyo is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 07:07.