plot over line in stress analysis of a plate with a hole
I'm now studying the part of stress analysis of plate with a hole according to the tutorial.When I was plotting both the numerical data and analytical solution exactly using the command line
" plot [0.5:2] [0:] 'sets/100/leftPatch_sigmaxx.xy', 1e4*(1+(0.125/(x**2))+(0.09375/(x**4)))". It always ended up like this "plot: sets/100/leftPatch_sigmaxx.xy,1e4*(1+(0.125/(x**2))+(0.09375/(x**4))): No such file or directory plot: ignoring this file" I've worked on it for several days,but still can't find what's wrong!Please somebody help me!Thanks in advance! 
Hi,
Are you running the solidDisplacement tutorial? After running the solver, you sample the data with: Code:
sample If you do have these sampled files, you can plot them using gnuplot. To use gnuplot, type the command: Code:
gnuplot Then you can plot the sampled stresses against the analytical solution using the command: Code:
plot [0.5:2] [0:] 'sets/100/leftPatch_sigmaxx.xy', 1e4*(1+(0.125/(x**2))+(0.09375/(x**4))) 
Thank you for your help.I found that I didn't run gnuplot command in the terminal.I solved the problem as you said.

Hi all,
I'm now studying the part of stress analysis of plate with a hole according to the tutorial.When I was plotting both the numerical data and analytical solution exactly using the command line in gnuplot " plot [0.5:2] [0:] 'sets/100/leftPatch_sigmaxx.xy', 1e4*(1+(0.125/(x**2))+(0.09375/(x**4)))". It always ended up like this warning: Skipping unreadable file ''sets/100/leftPatch_sigmaxx.xy''. I already sampled the data and I already got sets folder. Gnuplot gives me only the graph of analytical solution. I've worked on it for several days,but still can't find what's wrong!Please somebody help me!Thanks in advance! 
Quote:
I am also getting the same error ! If you have solved this error, then can you please tell me what was the problem ? I have installed gnuplot with this command, sudo aptget install gnuplot gnuplotx11 gnuplotdoc 
Quote:
After running the sample command first of all go to the folder, /postProcessing/sets/100 (not from terminal but from your folder system) here you need to rename the file leftPatch_sigmaxx.xy as leftPatch_sigmaxx.xy.dat (here notice the extension) now go back to the terminal and go in the folder, /stressAnalysis/solidDisplacementFoam/plateHole/postProcessing/sets/100 (Make sure you are in the correct Folder) then type gnuplot in the terminal, so you will enter the gnuplot. and now type the below command, plot [0.5:2] [0:] "leftPatch_sigmaxx.xy.dat", 1e4*(1+(0.125/(x**2))+(0.09375/(x**4))) you should get the plot :) 
Dear Nanavati,
lots of thanks for your post. 
Analysis of plate
I have started using octave and trying to analyse the plate with hole subjected to tensile load. I have to make plots of analytical and numerical solutions(ansys) which i got using gnu octave. Can anyone tell me how to start with the coding.

All times are GMT 4. The time now is 09:30. 