This is very hard to debug without more information but it could be due to not have write permission as some files need to be written to run OpenFOAM. Could you try:
1) Does running the first "Laminar Channel Flow" example work with the OpenFOAM solver?
2) Can you run the following code in Matlab and report if there are any errors?
file = 'C:\Users\GView\Documents\MATLAB\.featool\testfile';
fid = fopen(file,'w');
fprintf(fid,'1');
fclose(fid);
assert(strtrim(fileread(file))=='1')
delete(file)
file = fullfile(tempdir(),'testfile');
fid = fopen(file,'w');
fprintf(fid,'2');
fclose(fid);
assert(strtrim(fileread(file))=='2')
delete(file)
aye wrote
WhileI'm trying to solve fluid dynamics " Flow around a cylinder tutorial " by using the feaTool Interface and try to solve a problem with openFoam.I received the following error after pressing solve in the openForm .
Invalid file identifier.Use fopen to generate a valid file identifier