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

Problems about oscillatingRotatingMotion

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 28, 2019, 07:26
Post Problems about oscillatingRotatingMotion
  #1
New Member
 
Chen
Join Date: Feb 2019
Posts: 5
Rep Power: 7
cresendo is on a distinguished road
hello,guys
I am new to dynamic mesh, and now i am working on a case that needs to use oscillatingRotatingMotion . But it only can achieve the sine function.So how can i make it to cosine function?
cresendo is offline   Reply With Quote

Old   March 16, 2023, 03:57
Default
  #2
New Member
 
Gengatharan.R
Join Date: Mar 2023
Posts: 2
Rep Power: 0
gengatharan is on a distinguished road
sir crescendo...
did you find the answer to that question regarding the conversion of sin to cos in oscillatingrotatingmotoin?
gengatharan is offline   Reply With Quote

Old   March 16, 2023, 08:17
Default
  #3
Member
 
Amirhossein Taran
Join Date: Sep 2016
Location: Dublin, Ireland
Posts: 50
Rep Power: 9
amirhosseintaran is on a distinguished road
Quote:
Originally Posted by cresendo View Post
hello,guys
I am new to dynamic mesh, and now i am working on a case that needs to use oscillatingRotatingMotion . But it only can achieve the sine function.So how can i make it to cosine function?
Yes,
Take a look at ORM, create a new class base on the original ORM, Change the formulation, and compile your library, finally just import it into your dynamicMeshDict and it must work.

Bests,
Amirhossein
amirhosseintaran is offline   Reply With Quote

Old   March 19, 2023, 09:48
Default
  #4
New Member
 
Sanjay R
Join Date: Sep 2022
Posts: 8
Rep Power: 3
SanWick002 is on a distinguished road
Dear Amirhossein and anyone who'd want to help,

As we are new to compilation of the library, we did face issues with it. For the objective, we renamed the oscillatingRotatingMotion.C and .H files to my_oscillatingRotatingMotion.C and .H and also anywhere the class name is called. In the Make directory, the "files" contain the EXE mention to the my_oscillatingRotatingMotion.C, and the "options" contain the lnInclude mention for dynamicMesh in EXE_INC. We aren't sure to what EXE_LIBS we must link, which we believe causes error when "wmake libso" is done. As we are new to this and have no experience with compilation, we could'nt figure out the error and are asking for guidance...
The case is attached with the post.
Attached Files
File Type: zip my_oscillatingRotatingMotion.zip (3.5 KB, 7 views)
SanWick002 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
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 6 December 1, 2020 11:12
[mesh manipulation] Problems with rotational cyclic boundaries TReviol OpenFOAM Meshing & Mesh Conversion 8 July 11, 2014 03:45
[ICEM] Flow channel meshing problems StefanG ANSYS Meshing & Geometry 19 May 15, 2012 06:44
Two-phase air water flow problems by activating Wall Lubrication Force challenger85 CFX 5 November 5, 2009 05:44
Help required to solve Hydraulic related problems aero CFX 0 October 30, 2006 11:00


All times are GMT -4. The time now is 11:53.