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

How to read a text file in OpenFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 13, 2024, 07:10
Default How to read a text file in OpenFoam
  #1
New Member
 
BabuG
Join Date: May 2024
Posts: 15
Rep Power: 2
papaji is on a distinguished road
Dears,
I am running a CFD case in which fluid and solid regions are present. The solid region (or the solid object) has to rotate at an angular velocity "omega".

I could successfully launch the case with rotation.

However, I want the solid object to oscillate (rotate in clockwise for some time and then rotate in anti-clock wise direction).

How to setup this OpenFoam12 or 2406 versions preferably (2406)

1. Is there any inbuilt-functionality to read a data file with contains data of rotation (omega) with respect to time step. If such possibility is not there!!.

2. How to read a data file and assign the values to omega

Thank you in advance
papaji 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 17:05
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 09:06
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 22:53
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 04:23
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 13:41


All times are GMT -4. The time now is 14:24.