|
[Sponsors] |
How to usefvMotionSolverpointPatchFieldsderived |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 20, 2007, 11:10 |
Hi community..
Can some bod
|
#1 |
Senior Member
Join Date: Mar 2009
Posts: 248
Rep Power: 18 |
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 |
|
October 26, 2007, 05:30 |
Hi, Jaswinder.
I have met
|
#2 |
New Member
zhangyao
Join Date: Mar 2009
Posts: 1
Rep Power: 0 |
Hi, Jaswinder.
I have met the same problem with you . Have you solved the problem??? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|