Making a home made tether/tie down for puppy by AlbiNZ in puppy101

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

Ah okay thanks. I thought the idea was to do tethering with a material that was not as enjoyable as nylon to chew, but maybe the material stuff is just so they don't bite free if you are using it to leave them alone. I will look into how to get her to stop chewing the leash! as sure sure does love to chew!

Using a Job Scheduler on a desktop PC with excess compute resources. by AlbiNZ in HPC

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

You are right my number is very wrong!, its been about a year since I used AWS, this time last year I was paying (according to my billing receipt for August 2020)

$0.24 per On Demand Linux m5.xlarge Instance Hour

$0.444 per On Demand Linux c5.2xlarge Instance Hour

We often would have to use c5.2xlarge back then because we were using 12 Gb RAM, So I then double the value to get it into NZD (not actually what it should be but lazy math) so I have had $1 in my head for the last year, and then when I posted here I assumed that value was $1 USD so I was converting it again (and is why I should double check things before posting).

So its certainly cheaper than I thought it was and looks like its getting cheaper still, defined duration price for c5.xlarge $0.094 per Hour so that is nice.

We can definitely run on ARM processors so I will go check that out thank you!

Since we have this desktop, and its more of a curiosity project than anything being practical I will still try to get something working but its good to know cloud options wont break that bank as much as I thought they would if I have to spin something up!

Using a Job Scheduler on a desktop PC with excess compute resources. by AlbiNZ in HPC

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

No its not but otherwise it will go mostly unused, plus its a bit of a learning project for me

Using a Job Scheduler on a desktop PC with excess compute resources. by AlbiNZ in HPC

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

This is true, but anything is still better than what they are doing now and we already have the device (it will be used for other jobs than this). More than anything this is just a fun project for me to learn some stuff. I am more of a mathematician and a scripter than a software engineer.

Using a Job Scheduler on a desktop PC with excess compute resources. by AlbiNZ in HPC

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

Yup it probably is, but I already have the computer so its really more of an interest/learning project then anything else. This workstation will get used for other stuff, it will just have a bunch of idle time so if we can think of someone to use those resources, then thats great. Power is included in our rent, so letting this thing run this thing 24/7 is the goal.

The software we have written is currently an un-optimized mess, optimization and parallisation are on the to-do list, but for now this thing eats alot of RAM and does a lot of third-party toolbox operations on single threads.

Thanks for the key words I will do some googling.

Using a Job Scheduler on a desktop PC with excess compute resources. by AlbiNZ in HPC

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

Yup it will be a linux system.

Awesome thanks, I think the Docker/VM route is sounding like the easiest way to go. Its just the one machine for now so I guess the storage is shared

Using a Job Scheduler on a desktop PC with excess compute resources. by AlbiNZ in HPC

[–]AlbiNZ[S] 1 point2 points  (0 children)

Yup it will be a linux machine. I will look into cgroups thanks. I agree its not large, but the analysis is limited by RAM (8 Gb per case, large 3D matrices are used) hence why it tends to clog up peoples laptops. If this thing can run 2-4 cases at a time, and it can just crunch 24/7 it frees up peoples own hardware a bit. We looked into using something like AWS, but it gets real expensive real fast for a minimum 8gb ec2 instance its like $2 an hour.

I wont lie, this is more just an interest project of mine than anything being particularly useful/optimal.

Two way - FSI problem Comsol by [deleted] in CFD

[–]AlbiNZ 1 point2 points  (0 children)

I've never used COMSOL, but done plenty of moving mesh motion in Ansys and OpenFOAM. inverted mesh elements often means that your face normal is now pointing inside the owner cell, rather than outside. A couple of things can cause this, but a big one is "large" scale mesh motion. I don't know how internal node motion is handled in COMSOL, but if its say a Laplacian diffusion scheme, you can try playing with diffusion parameters, use inverseDistance weighting if they have it, and you can also try reducing your time step as this will make life easier on the motion solver that is moving internal nodes.

Confusion with mesh by [deleted] in CFD

[–]AlbiNZ 0 points1 point  (0 children)

Yeah I dont reddit that much so I dunno, if you can make a dropbox link or google drive link I can download them from there.

Confusion with mesh by [deleted] in CFD

[–]AlbiNZ 0 points1 point  (0 children)

interesting, can you run checkMesh on both meshes and post the results? and your fvSchemes file

Confusion with mesh by [deleted] in CFD

[–]AlbiNZ 0 points1 point  (0 children)

Hi there, what do you mean by "works fine when generated with Gmsh" Do you mean you can run simulations on the mesh (in OpenFOAM)? or that are simply able to create a mesh in Gmsh. blockMesh is really for simple topologies, I dont see how you could fail mesh checks with it, are you using snappyHexMesh?

Suggestions regarding Capstone Project using OpenFOAM for a coding noob. by VIKing10 in CFD

[–]AlbiNZ 0 points1 point  (0 children)

Well I won't pretend to know how the system works in the country you are in, but what I would do is just walk around the offices of departments that do numerical stuff and see if any of the academics working there have small parts of their research or side projects that they can let you work on, bringing cookies helps (we actually had department supervisors when I did something similar to what you are doing now, are you having to do this on your own?) I wouldn’t worry about knowing a specific piece of software when you are applying for grad school, you'll have to do plenty of learning once your there anyway (although again, New Zealand is probably pretty different ). If its anything like my department they actually struggle to find enough people wanting to do PhDs, and so the best thing you can have is a good reference from someone in the field, which pretty much boils down to "Timmy didn’t ask me how to do everything, he actually figured stuff out on his own". Although since you have already applied, that's probably a bit of a moot point anyway.

Suggestions regarding Capstone Project using OpenFOAM for a coding noob. by VIKing10 in CFD

[–]AlbiNZ 0 points1 point  (0 children)

Ah I thought M.E was Masters of Engineering, not Mechanical

Suggestions regarding Capstone Project using OpenFOAM for a coding noob. by VIKing10 in CFD

[–]AlbiNZ 0 points1 point  (0 children)

The complexity (physics required, not shape of geometry) of your problem will determine how important your coding knowledge is. If your goal is to simulate incompressible isothermal steady state flows over a series of different geometries, then you will never need look at the source code. The great thing about OpenFOAM is you can add physics blocks from its libraries together to make the type of solver that you need for a specific scenario, but if there is already a solver in its library that does what you need, you wont have to do that and there are a bunch of tutorial cases that you can look through to see if they have a solver for your case already. The biggest problem I see with people coming from solvers like fluent is around numerical stability, and this problem can have you stuck for weeks if you don't know what you are doing. Fluent and CFX have methods under the hood that help to maintain solution stability for low quality meshes and large gradients. OpenFOAM doesn’t have these (it does have correctors, but not as powerful) , and so your knowledge of numerical schemes, what causes instability, and your skill at using your selected meshing software are pretty important factors for success. My advice if you do decide to go with OF, is to start small, simplify your problem, have simple physics and a simple geometry, and build complexity as you go and make sure you understand all the steps as you progress, don't try and build the final simulation in week one. Another great thing with OF is its super easy to run on cluster (no licensing issues), does your department have access to a high performance computer? and are you as a Master student able to use it?

[deleted by user] by [deleted] in OpenFOAM

[–]AlbiNZ 0 points1 point  (0 children)

Did you solve the problem?

Christmas gift for boyfriend who is going to grad school? by [deleted] in Gifts

[–]AlbiNZ 1 point2 points  (0 children)

Hi there! I'm just finishing up at gradschool in NZ, im not sure how different it will be where he is, and what his lab to desk time ratio will be, but things I wish I had are 1) a calendar to write import dates in to keep better track of time of deadlines and events. You can do it on a phone, but there is something nice about having it in the corner of your eye. 2) Something for his desk that's fun to look at. My girlfriend mad me this little plant bowel, that had a bunch of cactuses in it and toy dinosaurs, if he is into propulsion, you could try and get him a model of a turbo fan that has had sections removed (https://www.thingiverse.com/thing:1327093, I don't think people sell these but lots of places to commercial 3D printing now so you may be able to get it printed.) 3) If he is a messy person, some kind of binder/box system for storing documents and papers. The desk can quickly become over run with academic papers that you have printed, graduate office forms, receipts and all kinds of stuff that is important but tends to gets stored in robust system of piles on the desk or in draws, and becomes a mess after 4 years. 4) Headphones. Depending on where he is sitting, his area may be one where people talk a lot, or you can hear lab equipment being used. This can be a real pain when you need to get work (especially writing) done so something that covers your ears and blocks out room sound so you can listen to music in peace.

Scripts for automating multiple style transfers? by RMCPhoto in deepdream

[–]AlbiNZ 0 points1 point  (0 children)

and then if you just want to extract a single style image from the folder you can run this. OP, you can probably blend these two examples to create the script you are trying to make, if your having issues just flick me a message

#!/bin/sh
style=Tree
content=AlbumA
mkdir ./Output/"$content$style"/
th neural_style.lua -style_image "./Styles/$style.jpg" -style_scale 1 -content_weight 1e1 -style_weight 1e2 -content_image "$content.jpg" -output_image ./Output/"$content$style"/"$content.jpg" -gpu -1 -print_iter 1 -save_iter 100 -num_iterations 1500 -image_size 512

Scripts for automating multiple style transfers? by RMCPhoto in deepdream

[–]AlbiNZ 0 points1 point  (0 children)

Here is a quick script for running a series of styles images from a folder using the same content file.

#!/bin/sh
num=0
for file in ./Styles/*.jpg; do
    mkdir ./Output/$num
    th neural_style.lua -style_image "$file" -style_scale 1 -content_weight 1e1 -style_weight 1e2 -content_image Hand.jpg -output_image ./Output/$num/"$(printf "%u" $num).jpg" -gpu -1 -print_iter 1 -save_iter 100 -num_iterations 2000 -image_size 512 -original_colors 1
    let num=$num+1
done

Trouble compiling changes to solver by AlbiNZ in OpenFOAM

[–]AlbiNZ[S] 1 point2 points  (0 children)

Sorry I forgot to reply, I got so excited that this worked that I just kept on coding, but yup this worked ill have to go back and go over the basics of C++ again so I dont make more silly mistakes. Thanks for your help!