2014年9月4日星期四

put the bracket beside the variable.

ok, so try orcad parameter sweep,


keep on pop up error,
**** INCLUDING SCHEMATIC1.net ****
* source RESISTORS
R_RS N02282 VL 47k TC=0,0
V_V1 N02282 0 10V
R_R1 0 VL rvariable TC=0,0
-----------------------------$
ERROR(ORPSIM-16152): Invalid number
.PARAM rvariable=10k

**** RESUMING "global sweep.cir" ****
.END

at the end is because i did not put the bracket beside the rvariable which is supposed to be parameter.

hehe, so stupid...

2014年9月3日星期三

Part VIN has no 'STIMULUS' property

Ok. so today I run the PSpice, and face the problem
INFO(ORNET-1041): Writing PSpice Flat Netlist C:\Cadence\SPB_16.6\OpenAccess\resistors-PSpiceFiles\SCHEMATIC1\SCHEMATIC1.net
ERROR(ORNET-1110): Part VIN has no 'STIMULUS' property

constantly make the error, whether i change Vac, Vdc, but life is always like this, you never realize you make the mistake only after you make it.

Hehe. I have extra component in the bottom page, that's why i have that error.
once I remove the extra component of power source, the error disappear.

remember at the start, you create a project based on simple.obj.using the design template.at the corner you can see the following figure, remove it.

as it create extra power source, that's why your simulation is not running, once you remove, our circuit is completed and in a closed loop, so everything is working fine.

hope it helps.

2014年8月19日星期二

how to transfer netlist from Orcad Capture to Allegro?

O.K. so today learn how to transfer netlist from cadence orcad to allegro 16.
again, the cute window system do the foolish style.
I successfully generate the netlist from cadence orcad capture, and it open the allegro 16.
However, i cannot find the component when i click placed manaually,

I panicked...haiz
then i look online and find the post about cadence, but now i cannot retrieve the link.
so if you face the same problem like me and it is in window 8, so you know what i know.
run the orcad capture with right click , select it run as administrator.
then rerun the create netlist, you should be able to see the list of the componet in the placement box, i guess it is the same for any orcad PCB editor.

so cute windows 8, what the hell everytime i have problem with my excellent design software, the first thing i will think about is right click and click run as administrator...

haiz.

wish all the designer work the best!!!

2014年7月13日星期日

FLUENT received fatal signal (ACCESS_VIOLATION)

How do I resolve the following error: FLUENT received fatal signal (ACCESS_VIOLATION)?

as referred to http://www.eureka.im/89.html

This is the standard error caused by FLUENT trying to access data that has not been allocated.

There are several causes which we will discuss.

For example, in a UDF, you may probe the cell temperature using the macro C_T(c,t). However, if you have not turned the energy equation on, then there is NO temperature stored, and you will get an ACCESS_VIOLATION.

To check a Thread for whether a variable is stored on it, you can use the THREAD_STORAGE(t, SV_XXX) macro, where SV_XXX is the storage variable for the equation of interest. For the energy equation, you would use SV_T. This macro returns a pointer to the data. The value is NULL if the data is not available. See storage.h for a complete list of storage variables.

Another cause for the macro is that your case has a UDF hooked, but you do not have the UDF available. The solution is to make sure you have the UDF directory in the correct location relative to the case file.

from
http://www.cfd-online.com/Forums/fluent/106319-fluent-received-fatal-signal-access_violation.html

This is what I would do but there is many not be it.
Do General -> Check to see whether there is anything obvious you are missing. This will also do the mesh check.
Change the Compute from options in the Standard Initialization and it will give different Initial Values below. See whether there is any boundary condition which give strange values (e.g. very high velocities or temperature)
Go throught the boundary conditions and check they are fine. If you still cannot see it turn all the boundary condition to wall except one inlet and one outlet and do initialization. If successful change back other boundary conditions to fish the error out.
Good luck.

2014年7月9日星期三

how to compile udf successfully in fluent 14.5

ok, so after one month back and for triggering, I finally manage to compile udf in my windows 8.1, I think I summarize the conlusion and hope it can benefit all of you who see my blog.if you can say a thanks you , i will feel happy.

http://www.cfd-online.com/Forums/blogs/trollreign/2036-getting-ansys-14-fluent-windows-8-1-vs2013-compile-udfs.html

The UDF library you are trying to load (libudf) is not compiled for 2d on the curent platform (win64).
The system cannot find the file specified.

X:\libudf\win64\2d\libudf.dll
#----------------------------------------------------------

Step-1 : Enable visualization technology in the BIOS setting in Windows 8 or 7

Step-2 : install Microsoft visual studio 2012 express

Step-3 : open VS2012 X64 Cross tools Command Prompt, change directory to working folder , where you have the *.c file

Step-4 : open Fluent V14.5 through step-3 command prompt window, make sure you open with appropriate 2D or 3D double precision options

Step-5 : compile the UDF

This one is the best solution.

of course, story never ended, if you still cannot compile your udf, the cmd exe still pop up message that ERROR: Cannot determine the location of the VS Common Tools folder.below is the suprise
http://schrievkrom.wordpress.com/2011/01/25/error-cannot-determine-the-location-of-the-vs-common-tools-folder/

setting path variable to c:\system\windows\system32 solves the issue

done.job completed.

2014年6月26日星期四

单机并行计算,并行的和越多,运算速度越慢,为什么呢?

单机并行计算,并行的和越多,运算速度越慢,为什么呢?


大家好,我做单机多核并行计算后,速度反而没有一个跑得快了,而且并行的核越多,速度越慢。
    软件是lammps,并行软件是mpich。跑得原子数是24000个。我看了下log文件,多核相对于单核来说,kspace time和comm time占的时间比例更多了。
    不知道有没有说清楚,期待大侠回复。。。
哈哈,该问题解决啦!主要是师兄的帮忙,不然,肯定是搞不定的。在这里,和大家分享一下问题的根源
主要是因为Linux的内核有两种,一是.elsmp,一是el,前者是symmetric multiprocessing对称对处理器,后者是uniprocessor单处理器。而我启动Linux时,选择的是后者,所以并行的核越多,速度越慢。因此,要并行的话,应该选择elsmp才对。
其实,问题很简单,呵呵,高手不要笑我啊。。。。。:)

solve fluent problem

ok, so today learn how to fix the error in fluent due to parallel processing,

 http://www.cfd-online.com/Forums/fluent/85262-error-fluent-parallel-processing.html

I don't mean to bring up a thread that hasn't had any new posts in over a month, but I found this by googling (first hit) and assume others might as well.

I'm using Fluent from Ansys V13 and had a similar issue where the program would hang while trying to spawn nodes. I had installed Intel MPI (not HP, but it's possibly similar) and to fix the problem, I ran wmpiregister. I'd assume if you installed HP MPI it would be similar. You have to register your username for windows and give it a password (which I believe must match between windows and whatever mpi you're using). 

Then, when starting Fluent, under the more options section/parallel settings tab, under MPI types I denoted that I am using Intel MPI instead of default.

Works fine now and no more hanging. Hope that helps anyone who finds this.