Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output face quantities to logfile #10

Open
SteveMaas1978 opened this issue Sep 4, 2020 · 10 comments
Open

Output face quantities to logfile #10

SteveMaas1978 opened this issue Sep 4, 2020 · 10 comments
Labels
enhancement New feature or request

Comments

@SteveMaas1978
Copy link
Member

It would be convenient if there was an option in febio3 to output face quantities such as contact pressure/traction to a logfile (like you can for nodal and element quantities).

I am aware that it may be done using Postview e.g. as mentioned in the thread https://forums.febio.org/showthread....ntact+pressure, but I would like to automate this as I use my model with Monte Carlo sampling and run it many times.

@SteveMaas1978 SteveMaas1978 added the enhancement New feature or request label Sep 4, 2020
@spietz
Copy link
Contributor

spietz commented Oct 5, 2020

Hi developers,

First of all thanks for making this great software available.

Is there any plans on implementing this feature in the near future?

If not, maybe you could direct me towards a place in the code where I can access surface contact pressures and implement a "quick and dirty" solution for dumping them to a file.

Best regards
Henrik

@spietz
Copy link
Contributor

spietz commented Oct 9, 2020

If anybody is interested I wrote a simple callback-plugin to do this, which may be found here.

@apaz304
Copy link

apaz304 commented Mar 12, 2021

Hi,

Henrik, I am not able to open the plugin you mentioned. I would like to know if there is any further update about this topic.

Regards,
Alex

@spietz
Copy link
Contributor

spietz commented Mar 12, 2021

Sorry, I renamed the plug-in at some point. Here is a link to the specific commit

@apaz304
Copy link

apaz304 commented Mar 15, 2021

Hi Henrik,

I have been trying to compile the plug-in using Visual Studio 17. I specified the respective Include and Library directories and the Linker dependencies. I tried with FEBio 3.2 and 3.0.
During compilation, I received warnings stating:

"warning LNK4099: PDB 'FECore.pdb' was not found with 'FECore.lib(tools.obj)' or at 'C:\ ... \x64\Release\FECore.pdb'; linking object as if no debug info".

Then, when I run FEBio the plugin is not loaded because "function GetSDKVersion not found".

Do you maybe have some advice on this? I have to clarify I am not too skilled in programming so far.

Thanks,
Alex

@SteveMaas1978
Copy link
Member Author

Hi Alex,

You can ignore the warning since we are not distributing the pdb files as part of the SDK.

The error is most likely caused by the fact that the WIN32 macro was not defined in your plugin project. To define it, go to the project properties, under C++\Preprocessor, add WIN32 to the “Preprocessor Definitions”.

Let me know if that solved the problem.

Cheers,

Steve

@apaz304
Copy link

apaz304 commented Mar 15, 2021

Hi Steve,

I tried your suggestion and FEBio just closes when importing the plugin without showing any message.

Regards,
Alex

@SteveMaas1978
Copy link
Member Author

That might be an unrelated problem. Try running febio from the command line and see if any error messages appear.

Steve

@apaz304
Copy link

apaz304 commented Mar 16, 2021

Hi Steve,

That is how I am running FEBio (Command Prompt). FEBioChem and FEBioHeat are successfully loaded, and no additional message appears.

Thanks,
Alex

@SteveMaas1978
Copy link
Member Author

Hi Alex,

This is getting a little off topic. Let's take the conversation elsewhere. You can either create a post on the forum, or you can email me directly.

Cheers,

Steve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants