Recent content by timewilltell

  1. T

    Understanding Nonlinear Analysis in ANSYS: A Tutorial for Scientists

    hi, I have some confusion for performing nonlinear analysis in ANSYS with NLGEOM... I was following the tutorial, the APDL is given below /prep7 ! start preprocessor /title,NonLinear Analysis of Cantilever Beam k,1,0,0,0 ! define keypoints k,2,5,0,0...
  2. T

    Comp Sci How to Search and Replace Values in Fortran Arrays?

    yup this is i have tried to do this do i=1,5 do j=3,6 if (x(i,j)==y(i,1)) then x(i,j)=y(i,2) end if end do end do but this don't work... wha i am trying to do is replace the matching values with the corresponding values in the second column that is change this file 3 8...
  3. T

    Comp Sci How to Search and Replace Values in Fortran Arrays?

    Ok ill try to explain the problem more elaborately for instance i select 5 from first line of file xdata.dat 8 2 1 5 7 9 now its fourth element is 5. When i am taking the average the program should search for this value "5" in the first column of file "ydata.dat"...
  4. T

    Comp Sci How to Search and Replace Values in Fortran Arrays?

    No, i coz i have changed nothing in the code... the file names i have switched by mistake when posting here... i am getting average with respect to line number not with respect to value of the array.
  5. T

    Comp Sci How to Search and Replace Values in Fortran Arrays?

    O sorry for that, yup i have switched it in confusion Let this data set be "xdata.dat" 3 8 2 1 5 7 9 9 2 2 5 7 7 10 3 6 6 6 6 and this data set be "ydata.dat 5 1 10 5 20 7 30 6 40 9 50...
  6. T

    Comp Sci How to Search and Replace Values in Fortran Arrays?

    yes you are right in the output 8 and 2 are first two numbers from data1 and 27.5 is the average. ok i will explain for example the first line in data1 8 2 1 5 7 9 , 8 and 2 are just selected and printed in the output as it is no operation on them. Now the program...
  7. T

    Comp Sci How to Search and Replace Values in Fortran Arrays?

    hi i have two data sets one(data1) containing 3 8 2 1 5 7 9 9 2 2 5 7 7 10 3 6 6 6 6 and other(data2) containing 5 1 10 5 20 7 30 6 40 9 50 now i want my program to search the values 1 5 7 9 from (data1) in data 2 column 1 and then take the average of the...
  8. T

    Fortran Fortran Help: Matching Data and writing values

    yup real number fail with "==" ... any suggesstion for real numbers
  9. T

    Fortran Fortran Help: Matching Data and writing values

    hi i have two file with following data file-1 (named: xyxp.dat) 6 1 1 0 10 3 2 1 5 3 5 4 8 0 0 0 11 1 2 5 4 5 6 4 12 file-2 (named: xyzn.dat) 6 1 0 0 0 2 1 1 0 3 3 2 1 4 1 2 5 5 3 5 4 6 5 6 4 now i want to match each value of the first three columns of file -1 with the corresponding...
  10. T

    Abaqus: write surface mesh element detail

    [SIZE="5"]attachment
  11. T

    Abaqus: write surface mesh element detail

    Hi, i need some help in writing the surface mesh in abaqus. i have a wing model, meshed using hexahedral mesh. now what i want is to write the surface element detail on a file, containing the element number and its neighbouring four nodes. for example 12, 2 3 5 6 here 12 is the element number...
  12. T

    How to Export Mesh File in Abaqus?

    hi ! i have created finite element mesh in abaqus. i need to export this mesh i.e. the nodes and element details on a file. can anyone guide me in this respect
Back
Top