CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Error: CDR: invalid argument [1]: wrong type [not a pair];Error Object: #f (https://www.cfd-online.com/Forums/fluent/67939-error-cdr-invalid-argument-1-wrong-type-not-pair-error-object-f.html)

Perseu September 1, 2009 08:28

Error: CDR: invalid argument [1]: wrong type [not a pair];Error Object: #f
 
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

mpa June 7, 2010 02:39

Hi Perseu,
I have the same problem:
cdr: invalid argument [1]: wrong type [not a pair]
Error object: #f

what could it be? Have you found a solution?

thanks

wangguobin14 June 26, 2010 22:17

Error: CAR: invalid argument [1]: wrong type [not a pair]
 
hi ,
have you solved your problem,
what does it mean? how to smooth it?
thank you !
wangguobin@163.com for contact:eek:

sanmysterio June 29, 2010 07:25

Error: CDR: invalid argument [1]: wrong type [not a pair] Error Object: #f
 
hi,
I am also getting the same problem when i run my case in batch mode on cluster but it was running fine with gui
kindly help

yoossie August 27, 2010 05:00

Nobody know how to solve this problem?

Because I'm only writing the events of a Dynamic Mesh, and (following a tutorial, but applied to my study) when I write my sliding interfaces it appears also this error.

I cannot understand, because, I have defined in the same way as the tutorial, I did it also in the same problem but with a different conditions (that they mustn't afect this) and it was no problem.

What can I do? Anyone knows?

Thanks for your replying

freeday September 17, 2010 23:59

So, do I....

Please help me...

fossil September 3, 2011 05:19

i have the same problem:confused:

fox000002 September 3, 2011 13:04

The error message indicates that there is an error in the scheme code.

A list value is needed, but a boolean value "#f" is fed.

You should check your case/data file, find the position and fix it.

zayzan December 30, 2011 02:43

Quote:

Originally Posted by fox000002 (Post 322781)
The error message indicates that there is an error in the scheme code.

A list value is needed, but a boolean value "#f" is fed.

You should check your case/data file, find the position and fix it.


Find the position of what exactly? I don't get it!
Can you explain further please?

Thanks

raghu.tejaswi August 30, 2012 16:03

Is this problem solved???

I had the same problem several times. I save the case (and data sometimes), close it and reopen it. IT works everytime.
Hope someone should try it out..

raghu.tejaswi August 30, 2012 16:05

PS: or try remeshing (can be coarser or finer..), it should work

p.bhushan2727@gmail.com January 10, 2013 12:23

same error
 
dear frnd i am getting same error for my fluent problem any body knw ans plz tell me:mad:

raghu.tejaswi January 10, 2013 13:01

Hi Bhushan,

did you try doing the things I mentioned in the above comment?
Honestly, it worked for me.

raghu

p.bhushan2727@gmail.com January 11, 2013 00:33

hi raghu i have save case and data file done lots of time but i am getting same error i am doing Multiple Rotating Reference Frames problem tried remeshing but not getting .......... i have made interface and for my case is there any problem in that case

raghu.tejaswi January 11, 2013 02:05

Quote:

Originally Posted by p.bhushan2727@gmail.com (Post 401307)
hi raghu i have save case and data file done lots of time but i am getting same error i am doing Multiple Rotating Reference Frames problem tried remeshing but not getting .......... i have made interface and for my case is there any problem in that case

I do not exactly understand the quantum of your problem. The problem can be tricky when interfaces are involved. Make doubly sure your interfaces are perfect. WHen I got this exact error, I just saved this as a different filename in a diff folder and it worked everytime. Thats the reason I am commenting here.
If this does not work, probably you can describe your problem in detail and eithr me or someone else can help you. and pls check if the error you receive is exactly the same as mentioned in this post.

p.bhushan2727@gmail.com January 11, 2013 02:39

darreuis type wind turbine cfd
 
5 Attachment(s)
DEAR raghu ,
i am doing my m.tech project in water turbine cfd with moving sate for that concern i have made my mesh as one paper and for that concern i have made one main rectangular domain in which one circular rotating domain and in that circle another 3 circular domain around the aerofoil shape baldes in that case whole circular domain with 3 inner circle is roatating with some angular velocity i have attaching some images of my mesh with this i have made interfaces for betn main domain-- outer domain , outer domain --3 inner circle ....and i am using for that concern Multiple Rotating Reference Frames for simulations ... its running but case and dat file recall this error ocuur.... and thanx for u r help ...& plz help me for that concern

caitoc July 3, 2013 11:15

Reset the model in workbench
 
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

sajeesh July 8, 2013 22:37

Hi all

I came across the same problem in VOF simulation when defining the Run calculation_create animation play back file..At that time just save the case and data file and reopen it..It will work fine...This is formed when reassigning more than a data to the same name..Eg contour plots of phases and pressure assign to same file sequence1..Assign each contour plot to each file and these problem wont arise...

This is what i am feeling

Thnx
Sajeesh

Katja May 29, 2014 07:50

Periodicity
 
Hi all,

I received the same error while trying to view periodic repeats of my geometry, so I guess it has something to do with wrongly defining the BCs?

Tank August 26, 2014 02:46

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!

Florin August 27, 2014 08:16

I had the same problem; it appeared after I have renamed a monitor I created earlier; after deleting the monitors this error disappeared.

jsmloveu November 11, 2014 21:22

OMG, it works when I restart! lol
thanks, Learner.

jdwarren April 8, 2015 17:42

Quote:

Originally Posted by Tank (Post 507795)
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.

2626imran June 23, 2015 01:07

Quote:

Originally Posted by caitoc (Post 437607)
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

slorenco October 25, 2015 13:40

cdr: invalid argument [1]: wrong type [not a pair] Error object: #f
 
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).

filipemt March 16, 2016 10:36

Quote:

Originally Posted by Tank (Post 507795)
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.

mjthomp3 August 17, 2016 17:27

Quote:

Originally Posted by Perseu (Post 228110)
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.

AHF October 31, 2016 06:06

i face to this error when i decided to active nist real gas.
any idea how to fix it ?

Sabomb January 16, 2017 10:58

Just giving it a break seems to help. Try stopping the simulation, then restarting it after a while

jonathashaniel July 4, 2019 19:01

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.

Tobi September 7, 2020 10:55

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.

lukasf July 7, 2021 04:31

I also have not found a better way than to delete and create the reports again.


Quote:

Originally Posted by Tobi (Post 782247)
Removing my monitors and reports solved the problem.


Tobi July 7, 2021 07:53

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.

djj11123 July 13, 2021 06:02

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.

roym March 2, 2022 04:50

Removing monitors works!
 
Thanks @Tank. Same issue in my case is solved after removing all the monitors.

roi247 December 1, 2022 22:25

For me it is the number of inconsistent inputs
 
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.

Cooper Mao May 1, 2023 09:37

Hi,I want to offer another solution method that might help.
Pls restart Fluent using DOUBLE precision option.


All times are GMT -4. The time now is 15:35.