unicfdlab / libAcoustics

libAcoustics - OpenFOAM library for far-field noise computation
139 stars 56 forks source link

How to write qds_ and qfs_? #86

Closed Charly-28 closed 1 year ago

Charly-28 commented 2 years ago

Hello, I come back to one of the questions that was closed (#71). How to write to qds and qfs file? I can't. How to create a write function for these two tensors?

Thanks so much for your help.

mkraposhin commented 1 year ago

Hi, you can use OFstream class to write any data manually

mkraposhin commented 1 year ago

Or you can use IOdictionary (https://www.openfoam.com/documentation/guides/v2112/api/classFoam_1_1IOdictionary.html)