CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

OpenFOAM : domain motion implementation with sixDoFRigidBodyMotionSolver class

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By doctorWho

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 16, 2016, 10:16
Default OpenFOAM : domain motion implementation with sixDoFRigidBodyMotionSolver class
  #1
New Member
 
SSSSS
Join Date: Jun 2011
Posts: 29
Rep Power: 15
doctorWho is on a distinguished road
Hi,

I am trying to implement domain motion (not morphing mesh) with sixDoFRigidBodyMotion class.

What I have done is to set scale_ variable to 1 in sixDoFRigidBodyMotionSolver constructor as follows:

Code:
        scale_.primitiveFieldRef() = scalar(1);

        const pointMesh& pMesh = pointMesh::New(mesh);
        pointConstraints::New(pMesh).constrain(scale_);
        scale_.write();
Then, the result by pimpleDyMFoam shows the internal mesh moving with rigid body except boundary patches.
I guess that in order to make domain with boundary patch move with rigid body, something should be done in the boundary patch in solve member function but I have no idea.
federicabi likes this.
doctorWho is offline   Reply With Quote

Reply


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
RBF motion solver implementation ZoeWu OpenFOAM Pre-Processing 2 December 23, 2021 15:30
Manipulation of every single mesh node inside the domain (OpenFoam) davide OpenFOAM Running, Solving & CFD 6 January 24, 2019 17:39
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 04:19
Possible bug in OpenFoam Interpolation class MMC15 OpenFOAM Bugs 2 March 23, 2014 13:55
query about domain and mesh motion of tube carrying fluid hasan56 CFX 3 October 26, 2011 17:53


All times are GMT -4. The time now is 18:10.