|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Rafael
Join Date: May 2016
Posts: 7
Rep Power: 10 ![]() |
Hi everyone!
I have actually 2 questions: 1.First of all I would like to know I could constrain the rotation on the pointDisplacement file. How do I block the rotation on the z-axis? 2.I've meshed a boat in four different patches (for better detailing), but I would like to work with them as if they were only one patch! (for giving the the properties on the 0 file: mass, moment of inertia...). How do I do it? Thanks! |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 ![]() |
Hi,
I can only answer your 2nd question: use createPatch to create a new patch from your four existing patches.... Details: https://github.com/OpenFOAM/OpenFOAM...reatePatchDict Cheers, Antimony |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
Rafael
Join Date: May 2016
Posts: 7
Rep Power: 10 ![]() |
Hi Antimony, thanks for the answer!
Your answer helped, but now I've got a new problem :P I used createPatch, and it created the patch in time 0.01. I've copied the polyMesh folder from folder "0.01" to folder "constant", so I would have the patch for time 0 too. But when I run setFields it shows this error message Quote:
![]() EDIT : It worked ![]() Now I just need to know how to limit the rotation in the z-axis!! Anyone knows? |
||
![]() |
![]() |
![]() |
Tags |
constraint, patch, pointdisplacement, question |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 11:58 |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 05:29 |
possible interview questions | atturh | Main CFD Forum | 1 | February 21, 2012 08:53 |
NACA0012 Validation Case Questions | ozzythewise | Main CFD Forum | 3 | August 3, 2010 14:39 |
novice star ccm+ questions | apc3161 | STAR-CCM+ | 2 | August 25, 2009 10:15 |