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

writeFormat and timeFormat in functions subDict in controlDict

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 7, 2015, 05:53
Default writeFormat and timeFormat in functions subDict in controlDict
  #1
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 66
Rep Power: 4
cfdopenfoam is on a distinguished road
deal foamers,

i am wondering if we can set the writeFormat and timeFormat in functions sub-dictionary in the controlDict.

the functionObjects i am using are faceSource and cellSource. and i test with
Code:
writeFormat bababa;
timeFormat bababa;
both not work. no error message. and the timeFormat and writeFormat set in controlDict seem not valid for data output by functionObject.

if there is a method to do this, please give me some hints.

thanks for your attention.
cfdopenfoam is offline   Reply With Quote

Old   November 8, 2015, 15:22
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,748
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Quick answer: I've checked the source code and those controls are not available independently for each function object.

As for the format... yeah, it's hard-coded to a specific format: https://github.com/OpenFOAM/OpenFOAM...jectFile.C#L39

Please report this in the bug tracker: http://www.openfoam.org/bugs/
wyldckat is offline   Reply With Quote

Old   November 20, 2015, 02:43
Default
  #3
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 66
Rep Power: 4
cfdopenfoam is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick answer: I've checked the source code and those controls are not available independently for each function object.

As for the format... yeah, it's hard-coded to a specific format: https://github.com/OpenFOAM/OpenFOAM...jectFile.C#L39

Please report this in the bug tracker: http://www.openfoam.org/bugs/
thanks for your reply. too much current work made this belated.

i will report it right now.
cfdopenfoam is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Forces not calculated when including a library in controlDict fusij OpenFOAM 2 May 13, 2011 07:25


All times are GMT -4. The time now is 20:00.