CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

forceCoeffsIncompressible writes to multiple files

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 25, 2022, 18:36
Default forceCoeffsIncompressible writes to multiple files
  #1
New Member
 
Andrés
Join Date: Sep 2021
Posts: 1
Rep Power: 0
AndresP is on a distinguished road
Hello everyone,

I'm having trouble with the postProcess utility (OpenFOAM .org v7). I have an already simulated transient case and would like to compute force coefficients for each timestep. I have a forceCoeffsIncompressible dictionary with the corresponding parameters set in my /system directory. I'm running the postProcess utility through:
Code:
pimpleFoam -postProcess -func forceCoeffsIncompressible
My understanding (unless I'm remembering incorrectly) is that I should get a single forceCoeffs.dat file in the /postProcessing/*/forceCoeffsIncompressible directory, with the coefficients for each timestep tabulated. However, the utility writes multiple files named forceCoeffs_*.dat , where * is the time associated with the coefficients in the file. Each file has the correct format but only one row in that table I refer to. For example, for forceCoeffs_1.005.dat:
Code:
# Force coefficients
# liftDir           : (0.000000000000e+00 1.000000000000e+00 0.000000000000e+00)
# dragDir           : (1.000000000000e+00 0.000000000000e+00 0.000000000000e+00)
# pitchAxis         : (0.000000000000e+00 0.000000000000e+00 1.000000000000e+00)
# magUInf           : 8.300000000000e-01
# lRef              : 3.500000000000e-02
# Aref              : 1.940000000000e-03
# CofR              : (3.000000000000e-01 3.000000000000e-01 8.000000000000e-02)
# Time              	Cm                  	Cd                  	Cl                  	Cl(f)               	Cl(r)               
1.005               	-6.941911664379e+00	9.463867864485e-02	9.457727060475e-01	-6.469025311356e+00	7.414798017403e+00
Only the row for t=1.005s is written.

Am I doing something wrong or is this how the utility normally works? I have spent quite some time looking for a solution on the Internet but so far I've found nothing, even on these forums.

I'd like to get a single forceCoeffs.dat with the coefficients for each time one under another (i.e. tabulated). Could someone point me in the right direction? I'd appreciate it.

Regards,
Andrés
AndresP is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 13:43
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 07:21
Calculating YPLUS and Compiling Multiple C files sanjibdsharma OpenFOAM Programming & Development 1 August 11, 2009 06:56
Multiple .res files in animation Gloria Gaynor CFX 5 April 6, 2009 19:36
Evaluating multiple fluent files Ralf Schmidt FLUENT 0 October 25, 2004 05:15


All times are GMT -4. The time now is 06:04.