CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

A few questions

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

Like Tree1Likes
  • 1 Post By Antimony

LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2016, 11:11
Smile A few questions
New Member
Join Date: May 2016
Posts: 7
Rep Power: 8
ocalloc is on a distinguished road
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?

ocalloc is offline   Reply With Quote

Old   June 22, 2016, 05:16
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 14
Antimony is on a distinguished road

I can only answer your 2nd question: use createPatch to create a new patch from your four existing patches....


ocalloc likes this.
Antimony is offline   Reply With Quote

Old   June 22, 2016, 10:28
New Member
Join Date: May 2016
Posts: 7
Rep Power: 8
ocalloc is on a distinguished road
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

Create time

Create mesh for time = 0

Reading setFieldsDict

"ill defined primitiveEntry starting at keyword 'defaultFieldValues' on line 19 and ending at line 71"

file: /home/rafael/OpenFOAM/teste/system/setFieldsDict at line 71.

From function primitiveEntry::readEntry(const dictionary&, Istream&)
in file lnInclude/IOerror.C at line 132.

FOAM exiting
Any ideas??

EDIT : It worked ! Just needed to edit the setFields file.

Now I just need to know how to limit the rotation in the z-axis!! Anyone knows?
ocalloc is offline   Reply With Quote


constraint, patch, pointdisplacement, question

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 06:29
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 1 June 24, 2021 21:34
possible interview questions atturh Main CFD Forum 1 February 21, 2012 09:53
NACA0012 Validation Case Questions ozzythewise Main CFD Forum 3 August 3, 2010 15:39
novice star ccm+ questions apc3161 STAR-CCM+ 2 August 25, 2009 11:15

All times are GMT -4. The time now is 06:56.