Code Monkey home page Code Monkey logo

opensees's People

Contributors

ahartloper avatar alborzgh avatar amaelkady avatar ambaker1 avatar aschellenberg74 avatar claudioperez avatar fmckenna avatar imeg avatar ioannis-vm avatar jaabell avatar kkolozvari avatar longchen-geo avatar luzpaz avatar massimopetracca avatar mcganncr avatar mckee107 avatar mhscott avatar millen1m avatar msalehi2004 avatar parduino avatar salsessa avatar sewkokot avatar silviamazzoni avatar talledodiego avatar u-anurag avatar vavgen avatar xinlong-du avatar yulee avatar z-ichinohe avatar zhuminjie avatar

Stargazers

 avatar  avatar

opensees's Issues

setParameter/updateParameter integration

  • add setParameter to ShellMITC4, forward it to all sections
int ShellMITC4::setParameter(const char ** argv, int argc, Parameter & param)
{
	// this element does not have specific parameters
	// just forward it to all sections.
	// therfore we don't need to implement updateParameter
	int res = -1;
	int matRes = res;
	for (int i = 0; i < 4; i++) {
		matRes = materialPointers[i]->setParameter(argv, argc, param);
		if (matRes != -1)
			res = matRes;
	}
	return res;
}

Support of relative path (upper level) for the MPCO result file

Hello Dr. Petracca,

It seems the MPCO recorder result file does not support relative path that directs to upper level folders. For example, file path "../model/res/mpcoRes.h5" would lead to “/model/res/mpcoRes.h5.mpco” which is not intended (due to the split function on line 4596 in the MPCORecorder.cpp file). This is not big issue and just noted for your info.

Regards,
Junfei

updateParameter and setResponse in material wrappers

material wrappers are missing updateParameter(useful??) and setResponse:

  • PlaneStrainMaterial
  • PlaneStressMaterial
  • PlateFiberMaterial
  • PlateFromPlaneStressMaterial
  • PlateRebarMaterial
int PlaneStrainMaterial::updateParameter(int responseID, Information & eleInformation)
{
	return theMaterial->updateParameter(responseID, eleInformation);
}
Response * PlaneStrainMaterial::setResponse(const char ** argv, int argc, OPS_Stream & s)
{
	/** massimo petracca - 12/12/2019. call base class for those results known by the base class,
	otherwise call the material method
	*/
	if (strcmp(argv[0], "stress") == 0 ||
		strcmp(argv[0], "stresses") == 0 ||
		strcmp(argv[0], "strain") == 0 || 
		strcmp(argv[0], "strains") == 0 ||
		strcmp(argv[0], "TempAndElong") == 0 || 
		strcmp(argv[0], "TempAndElong") == 0 ||
		strcmp(argv[0], "Tangent") == 0 || 
		strcmp(argv[0], "tangent") == 0
		) {
		return NDMaterial::setResponse(argv, argc, s);
	}

	return theMaterial->setResponse(argv, argc, s);
}

Fix output xml descriptor for fibers

some elements (trussSection corotTrussSection, zeroLengthSection) do not give correct output, and the MPCORecorder cannot guess the number of fibers

see the zeroLengthSection in our old code as an example

ShellMITC4 convergence issue

ShellMITC4 has convergence issues, probably due to the fact that it does not implement the update method.
Moreover, in linear elastic analysis it does not compute results, also for the same reason.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.