
[Sponsors] 
plot over line in stress analysis of a plate with a hole 

LinkBack  Thread Tools  Search this Thread  Display Modes 
March 10, 2012, 10:45 
plot over line in stress analysis of a plate with a hole

#1 
New Member
hust
Join Date: Jan 2012
Posts: 12
Rep Power: 10 
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! 

March 11, 2012, 06:55 

#2 
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 858
Rep Power: 28 
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))) 

March 11, 2012, 07:14 

#3 
New Member
hust
Join Date: Jan 2012
Posts: 12
Rep Power: 10 
Thank you for your help.I found that I didn't run gnuplot command in the terminal.I solved the problem as you said.


October 29, 2013, 10:45 

#4 
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 10 
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! 

August 19, 2014, 15:30 

#5  
Member
Pratik Nanavati
Join Date: May 2014
Location: Munich, Germany
Posts: 40
Rep Power: 8 
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 

August 19, 2014, 16:06 

#6  
Member
Pratik Nanavati
Join Date: May 2014
Location: Munich, Germany
Posts: 40
Rep Power: 8 
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 

August 20, 2014, 08:43 

#7 
Senior Member
ok
Join Date: Oct 2013
Posts: 346
Rep Power: 10 
Dear Nanavati,
lots of thanks for your post. 

October 6, 2014, 15:04 
Analysis of plate

#8 
New Member
Vignesh
Join Date: Oct 2014
Posts: 1
Rep Power: 0 
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.


Thread Tools  Search this Thread 
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Modal Analysis of a Submerged Plate in Water  Zhang ming Wu  CFX  2  June 29, 2010 09:55 
errors  Fahad  Main CFD Forum  0  March 23, 2004 14:20 
Problems of Duns Codes!  Martin J  Main CFD Forum  8  August 15, 2003 00:19 
error while compiling the USER Sub routine  CFD user  CFX  3  November 25, 2002 16:16 
CFX4.3 build analysis form  Chie Min  CFX  5  July 13, 2001 00:19 