Questions related to Fortran 90
I need to know what's going on inside a Fortran code which is not originally mine. I have a linux system and I tried the gdb debugger with some breakpoints but it didn't work( the compiler didn't compile it with -g).
I also tired using print for my variables in order to use them for plotting but after adding some lines of "print*, " syntax, the compiler again showed some errors and didn't show me any results.
I would be grateful if anyone can help me on this problem.
I am trying to develop a UELMAT for a steady heat transfer analysis. My problem is that my element doesn't work when convection interaction is applied to it. I have tried both to apply this concentrated interaction in the nodes (since superficially it does not work in user-defined elements) and trying to add the FILM subroutine inside the UELMAT subroutine. In all it returns me the nodal temperature as 0 in all the nodes.
Hope you're doing great.
I'm trying to learn and implement Abaqus subroutines (particularly USFLD) and am struggling with the following Abaqus terms' meanings and applications:
1. field variables
2. material point (and material point quantities)
would please help me out here with the definitions and examples of the above-mentioned terms since I haven't found any useful website links online.
Recently I have wrote a UMAT to deal with relately large arrays(nearly 500*500 double precision) I/O, and I have also appointed the property Depvar as 1000.
However, I encounted the error code 1073741571.
I have searched and found that the heap array size could be adjusted by /heap-arrays:[size].
I have tried but only failures. Could anyone familiar with this give some useful advice? I will owe my gratitude.
I am writing a new plasticity model in Ansys Explicit Dynamics using AUTODYN as solver for Bilinear Isotropic Hardening model but any how unable to add this particular material model code, as I need MATDEF code for above model.
It will be a great help if anyone can help me to write that particular code. So as to define my model and get in continuation with my research.
I am interested to write finite element code to solve the Cyclic Symmetric Modal Analysis of a disk. I want to understand the Cyclic Symmetric Modal Analysis in details and want to write FE code to solve the modal analysis problem.
Please share any suitable reference paper or fortran/matlab/python code which would help me in this.
Thanks a lot
The ANN with a backpropagation algorithm is enough, this ANN will be used under the Fortran 95 and Python languages.
I can't compile WIMSD5B source code from NEA Data Bank both with g95 compiler (Windows) and gcc/gfortran (Linux). Compiler gives me a lot of different warnings, e.g.
- Warning: Type mismatch in argument ‘a’ at (1); passed INTEGER(4) to REAL(4) [-Wargument-mismatch] Wimsd5b.for:1063:13:
- Warning: Label 42 at (1) defined but not used [-Wunused-label] Wimsd5b.for:27707:5:
Any advices or instructions on how to compile WIMSD5?
I would like to write data in fortran (90 and onwards including 2008) binary format to get the result much quickly and convert into text file so that data can be visualized using Matlab or R.
i want to write a CFD code solving N-S eqautions with finite difference method with fortran . my problem is how to use fortran to create a staggered mesh for 3D curved pipe .
can any one help me ?
I am new to Fortran 90. I intend to define the "Sign(x)" function and it's "derivative" in Fortran 90, which will later be used by AUTO-07p(Bifurcation Analysis Software). In addition, the variables used in my subroutines (the variables inside Sign function), are not "x". For instance, in some sections of a specific subroutine, it is "i", in another section of the same subroutine it is "f", and so on and on. I need to define the "Sign" function that it could be used for all my variables. Also, there are no specific values assigned to my variables in the Fortran code, they are computed by AUTO. Thanks in advance for your attention.
I am transferring my equations from Maple, in which the derivative of signum(x), is signum(1,x). The derivative of signum(x), is 2 times Dirac delta function (as mentioned by Professor Mittal). It is described in Maple that this function, is always zero except for x=0, in which it's not defined (Which gives the less precise description of Dirac Delta function). I don't know how to write a function in Fortran for the derivative function.
My code is limited to definition of equations, which will later be used by program AUTO, for bifurcation analysis. Which means, my code is not quite a program, it is simply consisted of specific subroutines which contain my equations and conditions of ODEs. Is it possible to define a FUNTION structure inside a SUBROUTINE, if not how should I implement the functions suggested below for signum(x) into my codes, so that in each subroutine the appropriate variables are used instead of the locally defined x variable.
I would like to know if a function/subroutine/system call exists to output the amount of physical memory used by my Fortran code.
I'm currently facing some memory leaks and I would like to understand exactly where they are coming from.
I am using ifort compiler on windows (Intel Inspector is not an option for the moment).
e.g in order to make program for linear chain of five or more equally separated spheroidal nanoparticles.
what is the algorithm for it .
plz suggest me.
I run the WRF-NMM model for 2 years from 01/01/2012 to 01/01/2014. But while I look at number of time steps (hourly data output), it's showing the number as 10,000 instead of 17,500 approximately. But I go through wrfrst files (file for each day) created properly, what is the problem for this.
I attached namelist.input and namelist.wps.
Thanks & Regards,
I would now like to extract wind speeds at particular vertical heights (50m,80m and 100m etc) which correspond to exact station altitudes (used for a comparative analysis). Is there a way how to interpolate the output data and then read the exact height required?
What should be the configuration which supports NIVIDA-CUDA GPU or NIVIDA GeForrce GPU? Also, which operating system is better for GPU computing? I use Linux (Ubuntu). What are the possibilities for this?
I know that FORTAN is fast, whereas one of disadvantages of MATLAB is the problem of speed. Matlab code is interpreted during runtime. Languages like C and Fortran are faster because they are first compiled into the computer's native language.
How can I develop a fast MATLAB code?
Thanks for taking a look.