CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Error: CDR: invalid argument [1]: wrong type [not a pair];Error Object: #f

Register Blogs Community New Posts Updated Threads Search

Like Tree18Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 27, 2014, 09:16
Default
  #21
New Member
 
Florin's Avatar
 
Florin Gheorghe
Join Date: May 2013
Location: England
Posts: 24
Rep Power: 13
Florin is on a distinguished road
I had the same problem; it appeared after I have renamed a monitor I created earlier; after deleting the monitors this error disappeared.
__________________
Best regards,
Florin
Florin is offline   Reply With Quote

Old   November 11, 2014, 22:22
Default
  #22
New Member
 
engilily
Join Date: Oct 2014
Posts: 1
Rep Power: 0
jsmloveu is on a distinguished road
OMG, it works when I restart! lol
thanks, Learner.

Last edited by jsmloveu; November 11, 2014 at 22:30. Reason: wrighting reason
jsmloveu is offline   Reply With Quote

Old   April 8, 2015, 18:42
Default
  #23
New Member
 
dirty trucker
Join Date: Feb 2011
Posts: 8
Rep Power: 15
jdwarren is on a distinguished road
Quote:
Originally Posted by Tank View Post
I was receiving the same error message:

I solved this by deleting all my monitors. It also disappeared when I gave each monitor its own window.

So perhaps save your case and delete all your monitors to determine if this is the source of your problem?

Hope this helped!
I solved this problem the same way. However, I found that it was only two of my monitors which were causing the issue (I applied the process of elimination). I deleted and then redefined those monitors, after which the problem disappeared.
jdwarren is offline   Reply With Quote

Old   June 23, 2015, 02:07
Default
  #24
New Member
 
Muhammad Imran Attari
Join Date: Jun 2015
Posts: 2
Rep Power: 0
2626imran is on a distinguished road
Quote:
Originally Posted by caitoc View Post
Hi all,
I had this problem too during my fluent modelling in ansys workbench.

My solution is simple: reset the "Setup", open the fluent and now you should not encounter this error anymore
Thanks caitoc
I had the same problem and it works by resetting the solution setup
2626imran is offline   Reply With Quote

Old   October 25, 2015, 14:40
Default cdr: invalid argument [1]: wrong type [not a pair] Error object: #f
  #25
New Member
 
Seth Lawrence
Join Date: Nov 2014
Posts: 3
Rep Power: 12
slorenco is on a distinguished road
I recently encountered this problem while running fluent 15.0 and determined it was caused by my convergence monitors.

More specifically, the iterations to ignore appear to be have been the root cause; when set to ignore the first 500 iterations the solution always threw this error once the solution reached and attempted to exceed 500 iterations. Once the convergence monitors were removed, problem no longer persisted.

SOLUTION:

Remove/Replace convergence monitors (see iterations to ignore).
slorenco is offline   Reply With Quote

Old   March 16, 2016, 11:36
Default
  #26
New Member
 
Filipe de Menezes
Join Date: Feb 2012
Posts: 12
Rep Power: 14
filipemt is on a distinguished road
Quote:
Originally Posted by Tank View Post
I was receiving the same error message:

I solved this by deleting all my monitors. It also disappeared when I gave each monitor its own window.

So perhaps save your case and delete all your monitors to determine if this is the source of your problem?

Hope this helped!
Thanks Tank!
I just solved my problem as you said, deleting all monitors. A detail is that you can't delete residual monitors, but it is fine anyway.
filipemt is offline   Reply With Quote

Old   August 17, 2016, 18:27
Default
  #27
New Member
 
AZ
Join Date: Jan 2014
Posts: 17
Rep Power: 12
mjthomp3 is on a distinguished road
Quote:
Originally Posted by Perseu View Post
Hi,

I have used the Fluent for simulation of wave generation in a tank (piston wave maker), but I have a problem when use a function "autosave". During the simulation, with many iterations (more 80.000), I saved the case and data through function autosave. However, when lack the electricity or when I cancel for a time and close the program for to begin again, occur the error:

Error: CDR: invalid argument [1]: wrong type [not a pair]
Error Object: #f

Please, someone can help me?

Thanks

Perseu




i found the problem on my side. If you have zero for inlet BC, then you will get this error. I am using a journal file and set the velocities there, but thought i could leave the inlet BCs as zero. Nope.
mjthomp3 is offline   Reply With Quote

Old   October 31, 2016, 07:06
Default
  #28
AHF
Member
 
AHF's Avatar
 
amirhossein
Join Date: Jul 2014
Location: Canada
Posts: 81
Rep Power: 12
AHF is on a distinguished road
i face to this error when i decided to active nist real gas.
any idea how to fix it ?
__________________
amirhosseinfardi94@gmail.com
AHF is offline   Reply With Quote

Old   January 16, 2017, 11:58
Default
  #29
New Member
 
Sabomb
Join Date: Feb 2016
Posts: 13
Rep Power: 10
Sabomb is on a distinguished road
Just giving it a break seems to help. Try stopping the simulation, then restarting it after a while
Sabomb is offline   Reply With Quote

Old   July 4, 2019, 20:01
Default
  #30
New Member
 
jonathas haniel
Join Date: Jul 2019
Posts: 1
Rep Power: 0
jonathashaniel is on a distinguished road
it is old but the solution is that some file isn't correctly loaded. Try refresh upstream components , or if you are trying to open the solution open and close first the setup before to fix the problem.
jonathashaniel is offline   Reply With Quote

Old   September 7, 2020, 11:55
Default
  #31
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hey everybody,

just want to confirm what Tank said. Removing my monitors and reports solved the problem. Interesting. However, I needed to load the data create from 20 R2 into 20 R1 as I need to export the data for ParaView and for some reasons the 20 R2 version does not work.

Probably there is a change in the file which needs to be incorporated into the ParaView reader first.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   July 7, 2021, 05:31
Default
  #32
Senior Member
 
Lukas Fischer
Join Date: May 2018
Location: Germany, Munich
Posts: 117
Rep Power: 8
lukasf is on a distinguished road
I also have not found a better way than to delete and create the reports again.


Quote:
Originally Posted by Tobi View Post
Removing my monitors and reports solved the problem.
lukasf is offline   Reply With Quote

Old   July 7, 2021, 08:53
Default
  #33
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Fortunately I am going back to OpenFOAM. Fluent has some very interesting features I miss in FOAM but the GUI is so buggy in my personal opinion. It crashes several times each day.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   July 13, 2021, 07:02
Default
  #34
New Member
 
杜家骏
Join Date: Jun 2021
Posts: 1
Rep Power: 0
djj11123 is on a distinguished road
I solved the problem based on the following situation: I opened the 2021 version of the fluent case with the 2020 version of fluent, and the error occurred, and the problem can be solved by recreating the case.
djj11123 is offline   Reply With Quote

Old   March 2, 2022, 05:50
Smile Removing monitors works!
  #35
New Member
 
Amal Roy
Join Date: Mar 2022
Posts: 1
Rep Power: 0
roym is on a distinguished road
Thanks @Tank. Same issue in my case is solved after removing all the monitors.
roym is offline   Reply With Quote

Old   December 1, 2022, 23:25
Smile For me it is the number of inconsistent inputs
  #36
Member
 
Rui
Join Date: Apr 2015
Location: Montreal. CA
Posts: 49
Rep Power: 11
roi247 is on a distinguished road
I am using scheme to write a journal file in fluent

(Do (( x 1 (+ x 1)))((> x 13))
(begin
(Ti-menu-load-string (format #f "file/transient-export/ascii plane~a pplane~a () x-velocity () yes no export-~a 1 time-step" x x x))
))

My command here tries to export 13 files "plane~a", on 13 different planes "pplane-~a", and name each of them "export-~a"...

I have got the same error
Error: CAR: invalid argument [1]: wrong type [not a pair]
Error Object: ()

I realized it when I was editing my Matlab file
e.g.
for i=1:100
name = sprintf('name-%d%d%d',i,i,i);
end


For the number of references in the command ~a of scheme, we have to input the same number of variables.
In my command I had 3 ~a
then I have to input three "x" for it to work.
roi247 is offline   Reply With Quote

Old   May 1, 2023, 10:37
Default
  #37
New Member
 
Join Date: May 2023
Posts: 2
Rep Power: 0
Cooper Mao is on a distinguished road
Hi,I want to offer another solution method that might help.
Pls restart Fluent using DOUBLE precision option.
Cooper Mao is offline   Reply With Quote

Reply

Tags
cdr, error, fluent, invalid argument, wrong type


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
Error: CAR: invalid argument [1]: wrong type [not a pair]??? Paulus Fluent UDF and Scheme Programming 7 August 30, 2013 07:28
Pressure instability with rhoSimpleFoam daniel_mills OpenFOAM Running, Solving & CFD 44 February 17, 2011 18:08
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 15:37
error: CDR: invalid argument [1]: wrong type Marc FLUENT 0 July 24, 2006 06:59


All times are GMT -4. The time now is 13:57.