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

How does OpenFoam reads the 6DoF.dat input file in tabulated6DoFMotion

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 22, 2020, 08:44
Default How does OpenFoam reads the 6DoF.dat input file in tabulated6DoFMotion
  #1
New Member
 
sreekanth
Join Date: Dec 2019
Posts: 13
Rep Power: 6
neko2650 is on a distinguished road
Hello,


I want to provide displacement at each time step through 6DoF.dat file where the I tried to control the solver to stop at each time step in controlDict file

Code:
startFrom       latestTime;
stopAt          nextWrite;
My basic Idea is stop the solver and edit the displacement in input 6DoF.dat file.
Initially I provided displacement in 6DoF.dat file for the first time step 0.01 and run the interFoam solver
(Here displacement is taken as a linear oscillating motion in y-direction)
Code:
2001      
(      
(0 ((0 0 0) (0 0 0)))
(0.01 ((0 0.016 0) (0 0 0)))
(0.02 ((0 0 0) (0 0 0)))
(0.03 ((0 0 0) (0 0 0)))
(0.04 ((0 0 0) (0 0 0)))
(0.05 ((0 0 0) (0 0 0)))
and the consecutively the displacement is updated at each time step
Code:
(0.02 ((0 0.033 0) (0 0 0)))
so on and so forth

When I tried to plot the force output shown in figure 1 it had local maxima and minima points (which are of no engineering importance). For comparison when I used the linearOscillating function in dynamicMeshDict file it provided me with a smooth plot shown in figure 2. Also figure 3 shows detailed comparison.

Also I noticed that when I provide two displacement values (i.e current and next time step values) to solve for the current time step values the force values obtained again looks similar to oscillatingLinear function

My query is how do I determine the input values which OpenFoam takes to provide mesh motion and calculate the forces at a given time step.
Does it has something to do with ddtScheme (explicit/implicit) I am using Euler
or it is related to dynamicMotionSolverFvMesh. I checked with both displacementLaplacian and solidBody motion solver or Is it something more which I haven't considered yet.

Kindly Help!


Thanks in advance
Attached Images
File Type: jpg figure 1.jpg (65.5 KB, 38 views)
File Type: jpg figure 2.jpg (47.9 KB, 25 views)
File Type: jpg figure 3.jpg (66.6 KB, 23 views)
neko2650 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
[OpenFOAM.com] swak4foam compiling issues on a cluster saj216 OpenFOAM Installation 5 January 17, 2023 16:05
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 06:42
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 11:32
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 15:23.