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

Opening csv file during run time and accessing it within custom boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 22, 2020, 19:50
Default Opening csv file during run time and accessing it within custom boundary condition
  #1
New Member
 
Nadun Palmada
Join Date: Apr 2017
Posts: 15
Rep Power: 9
Nadun19 is on a distinguished road
Hi all

I was wondering if it possible to open a large csv file (of x,y,z coordinates) in memory and access it within a custom boundary condition. I dont wan't to open and close this file every time the boundary condition is called, just to save computation time. I am going to be using this csv file to determine the point motion of a patch. I am currently running Openfoam v1906.

Thanks
Nadun
Nadun19 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
Accessing Lagrangian Data During Run Time tzaht OpenFOAM Programming & Development 10 July 16, 2019 08:58
accessing internal cell gradient field at boundary when applying boundary condition vishalsacharya OpenFOAM Programming & Development 7 February 25, 2019 16:36
[PyFoam] stuck: Text file busy cbcoutinho OpenFOAM Community Contributions 4 October 21, 2016 06:06
Accessing multiple boundary patches from a custom boundary condition file ripudaman OpenFOAM Programming & Development 0 October 22, 2014 19:34


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