|
[Sponsors] |
November 9, 2010, 08:20 |
problem with interDyMFoam
|
#1 |
New Member
Join Date: Oct 2010
Posts: 23
Rep Power: 16 |
hello everybody,
I'm trying to run a case like the floating object tutorial,just with another object floating, made by me. I compile of files, but when I try to run the simulation , I have the following error : Selecting motion solver: displacementLaplacian FOAM FATAL IO ERROR: Unknown patchField type sixDoFRigidBodyDisplacement for patch type wall Valid patchField types are : 21 ( angularOscillatingDisplacement angularOscillatingVelocity calculated cyclic empty fixedNormalSlip fixedValue global mixed oscillatingDisplacement oscillatingVelocity processor slip surfaceDisplacement surfaceSlipDisplacement symmetryPlane timeVaryingUniformFixedValue uniformFixedValue value wedge zeroGradient ) file: /media/3C981ADB981A940C/kubtestDYN/0/pointDisplacement::boundaryField::cube_region0 from line 56 to line 63. From function PointPatchField<Type>::New(const pointPatch&, const Field<Type>&, const dictionary&) in file /home/roma/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude/newPointPatchField.C at line 110. FOAM exiting any idea? thanks!! |
|
November 9, 2010, 11:35 |
|
#2 |
Senior Member
Join Date: Aug 2010
Location: Groningen, The Netherlands
Posts: 216
Rep Power: 19 |
Thats an easy one.
It says you have the patchField type: sixDoFRigidBodyDisplacement for the patch: wall where it is just allowed to use one of these: angularOscillatingDisplacement angularOscillatingVelocity calculated cyclic empty fixedNormalSlip fixedValue global mixed oscillatingDisplacement oscillatingVelocity processor slip surfaceDisplacement surfaceSlipDisplacement symmetryPlane timeVaryingUniformFixedValue uniformFixedValue value wedge zeroGradient so you have to change your patchField type to one of the 21 above mentioned types. But I guess you probably want to have something different with 6DOFs but don't ask me how that one works. hope that helps regards Colin |
|
November 9, 2010, 11:53 |
|
#3 |
New Member
Join Date: Oct 2010
Posts: 23
Rep Power: 16 |
thank you ColinB : in effect, I could have explained better my issue.
I don't want to change patchField, I want exactly sixDoFRigidBodyDisplacement , that is the one used in the floatingObject tutorial. What I can't understand is why I have this error, while running the tutorial this patchField gives no problems. The most I could "discover" is that the 21 patchFields mentioned are in the folder OpenFoam-1.7.x/src/OpenFoam/fields/pointPatchFields , while sixDoFRigidBodyDisplacement is in the folder OpenFoam-1.7.x/src/postProcessing/functionObjects/forces/pointPatchFields ... anyone can help please?? maybe can help to know that I made the object starting from a stl file with snappyHexMesh |
|
November 10, 2010, 14:03 |
|
#4 |
Senior Member
Ralph Moolenaar
Join Date: Aug 2010
Location: 's-Hertogenbosch, the Netherlands
Posts: 120
Rep Power: 16 |
I think you'd better spend your time on the shipFoam-problem? The code runs now at my computer; however it's exploding at the moment. Not sure about the cause at this stage but it could be because of the transformation from OF 1.6 to 1.7.1.
Maybe you'd have a better look in snappyHexMesh (sHM) to create the grid that YOU want? Then you can start right away with a good grid when the ShipFoam becomes available. Cheers, Ralph |
|
November 10, 2010, 14:20 |
|
#5 | |
New Member
Join Date: Oct 2010
Posts: 23
Rep Power: 16 |
Quote:
this is a post I wrote before you answered me in the other topic. what do you mean exactly when you say "the code is exploding"? and why do you think the grid I have is not the grid I want? I have a VOF divided into two phases (air and water) with the "shape" of the ship in the middle anyway, thank you very much for your advices!! you're doing a work that will be precious! (obviulsy not just for me and you ) Cheers, Michele |
||
November 10, 2010, 14:36 |
|
#6 | |
Senior Member
Ralph Moolenaar
Join Date: Aug 2010
Location: 's-Hertogenbosch, the Netherlands
Posts: 120
Rep Power: 16 |
Quote:
About the meshing: I'm working on OF for a couple of weeks now and used to be very pleased with the "standard" result of sHM. However, due to computational cost it may be effective to have a thorough look at your mesh, i.e. a HO grid (circular from the front view, rectangular from the top) and more cell refinements near the ship. Send me an email and I'll show you what I have in mind. OT: code is now working with a smaller "maxCo" and seems to be doing fine (for the moment :P) |
||
April 18, 2020, 01:26 |
|
#7 |
New Member
Paulo
Join Date: Dec 2017
Posts: 9
Rep Power: 9 |
Hey guys!
Have you solved that problem? I have the same issue. I want to run sixDoFRigidBody using pimpleDyMFoam for two bodies. " Selecting dynamicFvMesh dynamicMotionSolverFvMesh Selecting motion solver: displacementLaplacian [4] [4] [4] --> FOAM FATAL IO ERROR: [4] Unknown patchField type sixDoFRigidBodyDisplacement for patch type wall Valid patchField types are : 30 ( angularOscillatingDisplacement angularOscillatingVelocity calculated codedFixedValue cyclic cyclicACMI cyclicAMI cyclicSlip empty fixedNormalSlip fixedValue nonuniformTransformCyclic oscillatingDisplacement oscillatingVelocity processor processorCyclic slip solidBodyMotionDisplacement surfaceDisplacement surfaceSlipDisplacement symmetry symmetryPlane timeVaryingMappedFixedValue timeVaryingUniformFixedValue uniformFixedValue uniformInterpolatedDisplacement value waveDisplacement wedge zeroGradient ) " |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Incoherent problem table in hollow-fiber spinning | Gianni | FLUENT | 0 | April 5, 2008 11:33 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 15:52 |