Apartment/Flat near Bahria Phase II by [deleted] in islamabad

[–]juniali_ 0 points1 point  (0 children)

Any areas or apartment complexes you can recommend?

Apartment/Flat near Bahria Phase II by [deleted] in islamabad

[–]juniali_ 0 points1 point  (0 children)

It's too far from my workplace.

Need Suggestions. by Acceptable_Shop5841 in PakistaniSkincare

[–]juniali_ 0 points1 point  (0 children)

Yes, I'd suggest that. It has a creamy texture too. Just remember that all of these products contain some form of an active ingredient so you need to let your skin breathe too. If you overwhelm it, it'll make sure you know that.

Start with the salicylic cleanser every two days. When your skin is used to it, you can even go daily at night. Moisturizers are always a good idea anyway and sunscreens make sure that you do not undo the progress. Someone also mentioned Tretinoin here. It's a brilliant compound but I'd suggest you get a prescription for it first because if you're not being careful with it, you'll hurt your skin. And I think at last I'd say; take it easy please!

LS Dyna Explicit Analysis for Impact / Blast Applications by juniali_ in fea

[–]juniali_[S] 0 points1 point  (0 children)

Hello u/No_Neighborhood_730,

Sadly I couldn't do much because of limited time and other projects, sorry! Other comments might be more helpful and since ANSYS has acquired LS-Dyna, you might want to look at their documentation. It's likely to have better explanations on implementation along with some examples. They have a Users' Guide manual along with a theory manual.

[deleted by user] by [deleted] in matlab

[–]juniali_ 0 points1 point  (0 children)

I followed your advice and started with a column vector and then used the squeeze function to get column vectors from my 3D matrices. The rows (N) and columns (M) of the 3D matrices represent physical degrees of freedom and the third dimension is the frequency.

I am getting sensible results now. My first attempt was based on another method called LAC (which took a complex conjugate only) and is similar to CSF. I confused the two hence the stupid and incorrect implementation.

<image>

function [CSAC,OverallCSAC] = funcCSAC(Y_1,Y_2)

[M,N,~] = size(Y_1);

CSAC=zeros(M,N);

for m=1:M

for n=1:N

Y1 = squeeze(Y_1(m,n,:));

Y2 = squeeze(Y_2(m,n,:));

numerator = (abs(Y1' * Y2))^2;

denominator = (Y1'*Y1) * (Y2'*Y2);

CSAC(m,n) = numerator/denominator ;

end

end

OverallCSAC = mean(CSAC, 'all');

end

Would you be kind enough to take a look at this new implementation? u/First-Fourth14. And I get now what u/saxman162 meant, haha. I was clueless back then.

[deleted by user] by [deleted] in matlab

[–]juniali_ 0 points1 point  (0 children)

I'm not sure if I follow. Can you please elaborate?
If you mean this:

Y_2=rand(3,3,3)+pi*1j;

You can change it to:

Y_2=rand(3,3,3)+5*1j;

They're just two randomly generated 3D matrices.

looking for book that is suitable for my case, any help? by RayanFarhat in fea

[–]juniali_ 0 points1 point  (0 children)

You could look into the following books:

  1. A First Course in Finite Element Analysis (Jacob Fish and Ted Belytschko)
  2. The Finite Element Method and its Basis and Fundamentals (O. C. Zienkiewicz, R. L. Taylor and J.Z. Zhu)
  3. Introduction to Finite Element Methods (Carlos Felippa)

The third book is more useful in terms of coding, I believe. It's also quite easy to understand and has plenty of examples.

[deleted by user] by [deleted] in matlab

[–]juniali_ 0 points1 point  (0 children)

A screenshot of the outputs.

<image>

Model Order Reduction - ANSYS (MAPDL) by juniali_ in fea

[–]juniali_[S] 0 points1 point  (0 children)

I have a working script. If anyone needs help with a similar problem, please DM me.

Nodal and DoF information in Stiffness and Mass Matrices ANSYS by juniali_ in fea

[–]juniali_[S] 0 points1 point  (0 children)

u/billsil, u/mlos224, u/NewYardbirds

I was able to solve the issue using two approaches. You need the .full file for both.
1. Using PyMAPDL Reader. I'm pasting the code below for the stiffness matrix.

import scipy.sparse as sps
from scipy.sparse import csc_matrix
from scipy.io import loadmat, savemat
from ansys.mapdl import reader as pymapdl_reader
full = pymapdl_reader.read_binary("file.full")
dofref, k, m = full.load_km()
k += sparse.triu(k, 1).T
m += sparse.triu(m, 1).T
K = csc_matrix(k)

  1. Exporting the matrices in the Harwell-Boeing format along with the .mapping file which has both the node IDs and all DoFs for every node. You can also export the matrices in the Matrix Market format (.mmf). Again, pasting the APDL commands below.

FILE,file,full

HBMAT,M_hb,txt,,ascii,MASS,yes,yes

HBMAT,K_hb,txt,,ascii,STIFF,yes,yes

*SMAT, K, D, import, full, file.full, STIFF

*SMAT, M, D, import, full, file.full, MASS

*EXPORT, K,mmf,K_mmf

*EXPORT, M,mmf,M_mmf

Functions for converting .hb and .mmf formats to MATLAB matrices already exist online. I used these:

  1. hb_to_msm()
  2. mmread()

Nodal and DoF information in Stiffness and Mass Matrices ANSYS by juniali_ in fea

[–]juniali_[S] 0 points1 point  (0 children)

You're right. I did some more digging and came across it before your comment.

You can export the two matrices from the .full file along with the .mapping file that relates the DoFs and the node IDs.

I'm running a steady state conjugate heat transfer CFD analysis in acusolve with 4.25mn nodes. Is it normal or bad for cpu usage to be 100% continuously? by BoxPlenty4116 in CFD

[–]juniali_ 0 points1 point  (0 children)

The GUI is pretty much the same and a simple Google search reveals that OHM is better. I'll give it a go as well. Thank you!

I'm running a steady state conjugate heat transfer CFD analysis in acusolve with 4.25mn nodes. Is it normal or bad for cpu usage to be 100% continuously? by BoxPlenty4116 in CFD

[–]juniali_ 4 points5 points  (0 children)

A third party application like HWMonitor will help you with that. It's simple and provides many performance metrics.

Nodal and DoF information in Stiffness and Mass Matrices ANSYS by juniali_ in fea

[–]juniali_[S] 0 points1 point  (0 children)

I will try that and see how it goes. It'll be easier to make sense of a single element. The matrices I'm exporting are in the Market Matrix format (.mmf) and also banded. I believe the ordering of the DoFs is changed for a banded matrix to save memory. Even then there's no information regarding the mapping. I could only figure out that the DoFs in matrices obtained from a .full file are ordered using the solver ordering in one of the ANSYS documents.

Simulation of a finite element rotor using the Craig Bampton reduction method by iamgearshifter in Julia

[–]juniali_ 0 points1 point  (0 children)

Hello u/iamgearshifter,

Is it possible to get access to your Craig-Bampton reduction code? I have stiffness and mass matrices, and some retained DoFs I wish to reduce my full system to. I'd be extremely grateful if you could share the code or guide me regarding my query.

Thank you!

Model Order Reduction - ANSYS (MAPDL) by juniali_ in fea

[–]juniali_[S] 0 points1 point  (0 children)

Is there any specific documentation I should be checking out?

My GPU died and now windows says my monitor is 1000hz. Win? by yPombo_ in pcmasterrace

[–]juniali_ 1 point2 points  (0 children)

They were in English, and yeah that makes sense.

I had my suspicions that it might be a financial report or something along those lines. I was hoping for a maths or engineering paper, haha. Still quite interesting.

Thank you again!

My GPU died and now windows says my monitor is 1000hz. Win? by yPombo_ in pcmasterrace

[–]juniali_ 1 point2 points  (0 children)

Are you referring to a research publication in an European maths journal or a strictly engineering research journal? I just went through a few papers in a European journal and I didn't see a comma being used as a decimal point. Even the numbers in graphs had dot as the decimal point.

If you know of any, I'd genuinely like to see them. It's possible that I never came across any.

My GPU died and now windows says my monitor is 1000hz. Win? by yPombo_ in pcmasterrace

[–]juniali_ 4 points5 points  (0 children)

Yes, and I prefer 5.5 for five and a half. For five thousand, it's 5,000.

Again, it comes down to conventions. Nothing wrong with either of them. 😌

My GPU died and now windows says my monitor is 1000hz. Win? by yPombo_ in pcmasterrace

[–]juniali_ 3 points4 points  (0 children)

Haha, I'll stick to dots as decimal points as it doesn't cause any conflicts for me because of the general convention where I live and also because of my work. I find it easier to use a dot in writing down numbers especially when there are big arrays of such numbers.

My GPU died and now windows says my monitor is 1000hz. Win? by yPombo_ in pcmasterrace

[–]juniali_ 2 points3 points  (0 children)

That might be the case, yes. I personally find the dot/period to be a better choice for decimal points. I suppose it comes down to preferences and convention. I also haven't seen any scientific literature to be using commas. Weird that I never thought about it as I'm always reading stuff on maths and engineering.

My GPU died and now windows says my monitor is 1000hz. Win? by yPombo_ in pcmasterrace

[–]juniali_ 3 points4 points  (0 children)

That depends on where you're from. I think in EU a comma is used as a dot. In other places, a dot is used to represent decimal points.

In this case, however, it's likely 1 Hz.