|
[Sponsors] |
May 27, 2013, 01:19 |
|
#21 |
Senior Member
Marhamat Zeinali
Join Date: Mar 2009
Location: Tehran, Tehran, iran
Posts: 107
Rep Power: 17 |
Great.
Thanks alot, Marhamt |
|
July 23, 2013, 09:55 |
|
#22 |
New Member
meisam
Join Date: Jul 2013
Posts: 2
Rep Power: 0 |
hi.marhamat
i have yhis error too... how you can solve this error::::: [1] --> FOAM FATAL IO ERROR: [1] keyword velocityLaplacianCoeffs is undefined in dictionary "/home/meisam/OpenFOAM/meisam-2.2.0/run/gearMain/gearMove/processor1/constant/dynamicMeshDict" [1] file: /home/meisam/OpenFOAM/meisam-2.2.0/run/gearMain/gearMove/processor1/constant/dynamicMeshDict from line 0 to line 0. [1] [1] From function dictionary::subDict(const word& keyword) const [1] in file db/dictionary/dictionary.C at line 608. please help me immediately... best regards |
|
August 18, 2013, 18:25 |
|
#23 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Meisam,
I can't find any indication that "velocityLaplacianCoeffs" exists. But what I can tell you from the case "movingCone" that was discussed in this thread, uses the following "constant/dynamicMeshDict" content: Code:
FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dynamicFvMesh dynamicMotionSolverFvMesh; motionSolverLibs ( "libfvMotionSolvers.so" ); solver velocityComponentLaplacian; velocityComponentLaplacianCoeffs { component x; diffusivity directional ( 1 200 0 ); } Best regards, Bruno
__________________
|
|
December 16, 2013, 20:13 |
|
#24 |
New Member
Gecamp
Join Date: Oct 2010
Posts: 13
Rep Power: 16 |
Good evening guys.
I am currently working on the library developed by E.Helgason at Chalmers in 2009 (the one Xinguang Cui has uploaded in post #6) and I've encountered the exact same problem shown in this thread. The library itself works well until one wants to run it on parallel. In fact, the utility 'decomposePar' runs fine only the very first time, while it fails the following decomposition procedure for the same reason highlighted at the beginning of this thread. I have personally modified it like has been suggested by B.Santos but I've got no improvements. Later on, I've used the library fixed by Bruno himself and I have experienced the same problem. Here below the message which appears into the log.decomposePar file: --> FOAM FATAL IO ERROR: size 0 is not equal to the given value of 121 file: /home/gennaro/Desktop/DynMesh/Santos_PatchDeform/movingCyl1_22x_v3/0.08/pointMotionU::boundaryField::cubeY from line 47 to line 57. From function Field<Type>::Field(const word& keyword, const dictionary&, const label) in file /home/gennaro/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/Field.C at line 236. Since this thread stops here, I assume that the edits actually have worked for somebody. I'm using OF.2.1.1, is that an issue? I will appreciate any help or hint from people who has worked this thing out. Best regards |
|
December 30, 2013, 09:41 |
|
#25 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings desmoge,
My guess is that you did not restart the case from time "0". If I remember correctly, the problem for the parallel case was that the original boundary condition class was not able to do a proper parameter writing of the parameters it needs. Consequently, it goes bonkers when it doesn't see the parameters it didn't write in the first place . You can confirm this hypothesis, by comparing the settings you defined for the patch+field in the time snapshot "0", with the one at "0.08". If I'm not mistaken, you will see in "0/pointMotionU" this: Code:
cubeY { type libMyPolynomVelocity; origin ( 0.75 0.45 0.3 ); value uniform ( 0 0 0 ); RR 0.9; freq 25; A0 1; xAxis ( 1 0 0 ); yAxis ( 0 0 -1 ); } Code:
cubeY { type libMyPolynomVelocity; value 121 ( ... ); } Best regards, Bruno
__________________
|
|
December 30, 2013, 14:20 |
|
#26 |
New Member
Gecamp
Join Date: Oct 2010
Posts: 13
Rep Power: 16 |
First of all I thank you Bruno for replying to me.
Yes, the problem with the library is exactly the one you have described. In time folders different than 0, it does not write back the parameters it needs to restart the simulation. The way I have overcome this issue is to decompose the domain just once at the very beginning. Later on, I just reconstruct the domain (without deleting the processor folders) and restart the simulation from the latest time-step. Before encountering problems with this library, I used to delete the processor folders every time after the domain reconstruction and decompose it again at every simulation restart. Best regards |
|
December 30, 2013, 15:49 |
|
#28 |
New Member
Gecamp
Join Date: Oct 2010
Posts: 13
Rep Power: 16 |
Yes, that happens to me when I use yours.
So what I did was just to make the edits you have suggested on the original one: 1) I added the "processor" block to the file "pointMotionU" 2) "preservePatches" into decomposeParDict, so that the patches that use "libMyPolynomVelocity" will not be broken between processors. and then run it in the way I've described above. |
|
December 30, 2013, 16:05 |
|
#29 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
That's very, very strange!
Are you certain that you ran: Code:
wmake libso In addition, are you certain that only 1 version of that library exists? To check this, run these commands: Code:
ls -l $FOAM_USER_LIBBIN/*Polynom* ls -l $FOAM_LIBBIN/*Polynom* |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 06:42 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |